Closed PatchworkBoy closed 6 years ago
Removing all the if / endif from Quant.cpp and Quantum.cpp (so it’s all hardcoded for v0.4.0) then fails at...
MCO-rMBP:ML_modules marci$ make
c++ -D v032 -fPIC -I../../include -I../../dep/include -DVERSION=dev -DVERSION_dev -MMD -O3 -march=nocona -ffast-math -g -Wall -DARCH_MAC -mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++ -c -o build/src/Quantum.cpp.o src/Quantum.cpp
src/Quantum.cpp:162:46: error: use of undeclared identifier 'plugin'
panel->setBackground(SVG::load(assetPlugin(plugin,"res/Quantum.svg")));
^
1 error generated.
make: *** [build/src/Quantum.cpp.o] Error 1
Instead of removing the directives, you should edit the Makefile and change the -Dv032 to -Dv040. That should do the trick. Make sure you have completely built the current rack sources.
Please, let me know whether this solves your problem, so that I can either close the issue, or try to work out where the problem lies.
Hi yes changing the flag fixes the compile error on mac 10.13
The following warnings are generated
freeverb/revmodel.hpp:48:12: warning: private field 'wet1' is not used [-Wunused-private-field] float wet,wet1,wet2; ^ freeverb/revmodel.hpp:48:17: warning: private field 'wet2' is not used [-Wunused-private-field] float wet,wet1,wet2; ^ freeverb/revmodel.hpp:54:8: warning: private field 'math_e' is not used [-Wunused-private-field] float math_e = 2.71828;
However the plugins load and run fine.
Great plugins! thank you
Thanks!
Yes, these are leftovers from the development. I still have to clean up all codes and graphics, and also see where I can optimise them a bit more.
I will close this issue for now.
Build fails on MacOS 10.13 with latest VCVRack Master branch (commit ed90da9)