undefined reference to `SCIPcreate' and more

28 Views Asked by At

I am trying to use scip package to solve vrp example but when i want to use ctrl+shift+B to build task, i encountered with this error
/tmp/ccu9Xcmg.o: In function execmain(int, char**): /home/fahime/Desktop/VRP/src/main_vrp.cpp:294: undefined reference to SCIPcreate ... collect2: error: ld returned 1 exit status The terminal process terminated with exit code: -1.

it is my include path in c_cpp_properties:

 "${workspaceFolder}/**",
            "/usr/local/"

and its task.json

"version": "2.0.0",
"tasks": [
    {
        "type": "cppbuild",
        "label": "C/C++: g++ build active file",
        "command": "/usr/bin/g++",
        "args": [
            "-g",
            "${workspaceFolder}\\/src\\/**.cpp",
            "-o",
            "${fileDirname}/${fileBasenameNoExtension}"
        ],
        "options": {
            "cwd": "/usr/bin"
        },
        "problemMatcher": [
            "$gcc"
        ],
        "group": {
            "kind": "build",
            "isDefault": true
        },
        "detail": "compiler: /usr/bin/g++"
    }
]

would you guide me please

0

There are 0 best solutions below