Thank you, I’ll try what you mentioned above. How do I check the compiler version? Are you referring to the version of python installed or Xcode? If it’s Xcode, I’m running 7.2.1 on OS 10.10.5.
No, I think I’ve even built plugins on MacOS 10.7, but I haven’t in a while.
The difficulty with something as old as 10.7 is that Homebrew has dropped support, but with 10.10, you might still be fine.
Okay, so I guess unless I’m able to upgrade to 10.11, I can just cd to the plugin folder on the dev version of Rack 1 and git clone, etc etc in there.
I just updated my laptop OS to 10.11.6 and Xcode to 8.2.1 along with the command line tools to see if I could resolve some issues regarding compiling some binaries for the V1 stable branch. Some git repos will build, but most won’t as I’ll get some errors while trying to build. I’ve been trying to build the Audible Instruments Plugin using the SDK, and I get this error:
eurorack/tides2/ramp_extractor.cc:224:13: error: call to 'abs' is ambiguous
if (abs(new_period - period_) > 1) {
^~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:664:1: note:
candidate function
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:668:1: note:
candidate function
abs(double __lcpp_x) _NOEXCEPT {return fabs(__lcpp_x);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:672:1: note:
candidate function
abs(long double __lcpp_x) _NOEXCEPT {return fabsl(__lcpp_x);}
^
1 error generated.
make: *** [build/eurorack/tides2/ramp_extractor.cc.o] Error 1
I haven’t had success using the method described above when building other modules; “RACK_DIR=(Rack SDK dir) make”, as I’m assuming we just enter the exact command into terminal where (Rack SDK dir) is the path to the SDK folder (I just drag the folder to terminal to enter in the exact path).
Instead, I read on github, that we can just create a “plugins” folder in the SDK folder, and build directly in there. So that’s how I’ve been building since.
Maybe now that I upgraded to OS 10.11.6, I should be able to build Rack from source again, but I’d still like to learn to build using the SDK as well, using “make dist”.
I’ll start by cding to the plugins folder,
Then “git clone” in the plugins folder (in the SDK folder),
Then cd to the plugin root,
Then “git checkout V1”,
Then “git submodule update --init --recursive”,
Then “make dist”,
If the “make dist” doesn’t work, I will try “make dep” and “make”.
don’t know if this has anything to do with your problem ,but when I have problems with abs I get very explicit, like instead of abs(a, b) I might say std:abs<float>(a, b)