Getting this error upon compiling Gen patch:
In file included from /tmp/owl/owl-src-559pnd/ct5emu1ch.h:25:0, from /tmp/owl/owl-src-559pnd/ct5emu1ch.cpp:1: /tmp/owl/owl-src-559pnd/genlib.h:27:27: fatal error: genlib_common.h: No such file or directory compilation terminated. make: *** [/tmp/owl/owl-build-7beh1a/ct5emu1ch.o] Error 1 make: *** [patch] Error 2 ERROR: Patch build failed.
What to do?
The following libraries from the gen_dsp folder seem to be required, contrary to what the manual here:
Respective errors, which show up, when one or more of those files are included, disappear then.
However, now “abs” doesn’t seem to work, though i don’t use it in my patch (i use [i]):
“/tmp/owl/owl-src-R1oau9/ct5emu1ch.cpp: In member function ‘int ct5emu1ch::State::perform(t_sample**, t_sample**, int)’: /tmp/owl/owl-src-R1oau9/ct5emu1ch.cpp:87:45: error: ‘abs’ was not declared in this scope t_sample iup_10 = (1 / maximum(1, abs(1000))); ^ /tmp/owl/owl-src-R1oau9/ct5emu1ch.cpp:87:45: note: suggested alternative: In file included from /tmp/owl/owl-src-R1oau9/genlib_ops.h:31:0, from /tmp/owl/owl-src-R1oau9/ct5emu1ch.h:27, from /tmp/owl/owl-src-R1oau9/ct5emu1ch.cpp:1: /opt/OwlProgram.online/Tools/gcc-arm-none-eabi-5_2-2015q4/arm-none-eabi/include/c++/5.2.1/cmath:99:5: note: ‘std::abs’ abs(_Tp __x) ^ make: *** [/tmp/owl/owl-build-ubz2Gu/ct5emu1ch.o] Error 1 make: *** [patch] Error 2 ERROR: Patch build failed. ”
I use Max 7.3.1 on Mac OS 10.9.5. I can upgrade to 7.3.3 and see, if errors persist, however, if there’s an obvious mistake i made, then please let me know.
did you remember to set compilation type to Gen?
You should be able to change it if you go to
I’m a … dork. I compiled using cpp. Raaa. Thank you for the beginner advice – again. Now trying to find out if gen patches work better compiled, than PD compiled.
You must be logged in to reply to this topic.