VST3 is not running?

Hello everybody.

It’s a long time now since i worked with cabbage, but now i’m back on a bigger project and ran into some problems.

I wanted to test the exported effect VST3 in a other host then the Cabbage IDE and noticed it is not doing anything.

In the IDE everything works like expected. The sub-instruments are called and everything is working fine.

In the other host apllications (i tested reaper and ableton live) the plugin is doing nothing. Only the GUI is appearing.

Could it be, that the VST is not finding Csound on my machine?
What else could it be and how can i check this?

Greetings,

Philipp

The idea came up to use the console widget in the plugin for debugging, and this helped!

The plugin does not accept my `#include` statements. is this normal? is it not possible work with includes in cabbage?

Ok. i found my mistake!

I was not aware of the necessarity of the `cabbageIncludes` section. Adding this solved the problem!

Hi @ph_ne It should be able to find the includes but you need to use a full absolute path. This is because certain hosts will call CWD when they load, which messes up relative paths for Cabbage. You can use chnget:S(“CSD_PATH”) to get the path of the .csd file and go from there. So even if you’re using cabbageIncludes you should probably still use an absolute path.

i see.

i tried it out, but i don’t get it to work. i guess i need a little help


gStest chnget:S("CSD_PATH")
prints(gStest)
#include strcat(gStest, "/myFile.udo")
```

i guessed it must be somethin like this. but this does not work. also, is a `#include` statement not an precompiler command? how can this handle like a csound process like this?

That’s a good point. I guess the use of relative paths is the only option here. I must give this some thought for Cabbage 3.