rorywalsh / cabbage

Framework for developing audio plugins with the Csound programming language.
http://cabbageaudio.com
GNU General Public License v3.0
503 stars 35 forks source link

compile error due csoundSetOpcodedir #118

Closed KottV closed 3 years ago

KottV commented 3 years ago

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.

rorywalsh commented 3 years ago

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 3 years ago

indeed, thank you!