rorywalsh/cabbage

compile error due csoundSetOpcodedir

Closed this issue · 2 comments

KottV commented

Hi!

../../Source/Audio/Plugins/CsoundPluginProcessor.cpp: In member function ‘bool CsoundPluginProcessor::setupAndCompileCsound(juce::File, juce::File, int, bool)’:
../../Source/Audio/Plugins/CsoundPluginProcessor.cpp:148:17: error: ‘csoundSetOpcodedir’ was not declared in this scope; did you mean ‘csoundNewOpcodeList’?
  148 |                 csoundSetOpcodedir(opcodeDir.toUTF8().getAddress());
      |                 ^~~~~~~~~~~~~~~~~~
      |                 csoundNewOpcodeList

As I can see csoundSetOpcodedir is not declared anywhere. Commenting this line seems like a workaround.

Thanks @KottV. You are using an old version of Csound. Please build or install the latest version of Csound. Cabbage is typically compiled with the latest release of Csound, in this case 6.15.

KottV commented

indeed, thank you!