Ok, could someone help me just to get the damn thing to build upon hitting F5? If I can get that working perhaps I’ll be able to sort the debugging out myself.
c_ccp_properties.json:
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/home/ewen/Rack/**",
"/home/ewen/Rack-SDK/dep/**",
"/home/ewen/Rack-SDK/include/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"label": "build vcv rack plugin",
"type": "shell",
"command": "make install",
"options": {
"cwd": "${workspaceRoot}",
"env": {
"RACK_DIR": "/home/ewen/Rack-SDK/**"
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "shell",
"label": "g++ build active file",
"command": "/usr/bin/g++",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "/usr/bin"
}
}
]
}
Output:
> Executing task in folder RacketScience: /usr/bin/g++ -g /home/ewen/Rack/plugins/RacketScience/src/RSPhaseOne.cpp -o /home/ewen/Rack/plugins/RacketScience/src/RSPhaseOne <
In file included from /home/ewen/Rack/plugins/RacketScience/src/RSPhaseOne.cpp:3:0:
/home/ewen/Rack/plugins/RacketScience/src/plugin.hpp:2:10: fatal error: rack.hpp: No such file or directory
#include <rack.hpp>
^~~~~~~~~~
compilation terminated.
The terminal process terminated with exit code: 1
Running make install in the terminal works fine.
Clueless, frustrated & grateful for any assistance.