You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been struggling to compile from source. Getting the following error where ClearUnitOnMemFailed cannot be found. Where should this be located?
Thanks!
/home/Dev/nn-supercollider/plugins/NNModel/cpp/NNUGens.cpp: In constructor ‘NN::NNUGen::NNUGen()’:
/home/Dev/nn-supercollider/plugins/NNModel/cpp/NNUGens.cpp:261:5: error: ‘ClearUnitOnMemFailed’ was not declared in this scope
261 | ClearUnitOnMemFailed;
| ^~~~~~~~~~~~~~~~~~~~
/home/Dev/nn-supercollider/plugins/NNModel/cpp/NNUGens.cpp:269:5: error: ‘ClearUnitOnMemFailed’ was not declared in this scope
269 | ClearUnitOnMemFailed;
| ^~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/NNUGens_scsynth.dir/build.make:76: CMakeFiles/NNUGens_scsynth.dir/plugins/NNModel/cpp/NNUGens.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/NNUGens_scsynth.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered:
It should be in supercollider sources, more precisely in include/plugin_interface/SC_Unit.h. Which version of supercollider sources are you using? This macro is in both latest main and develop, it was merged in version 3.13 as part of a PR to fix some memory allocation errors and mainly remove exception throwing from the main DSP loop.
I should add to the README that sc 3.13 is required. If for any reason you can't compile with sc 3.13, you can define the macro yourself, here is the source:
I've been struggling to compile from source. Getting the following error where ClearUnitOnMemFailed cannot be found. Where should this be located?
Thanks!
The text was updated successfully, but these errors were encountered: