The CNMAT externals xcode project has various dependencies that need to be configured and built on your own platform for you to compile current/new externals on your own.
We have removed the built externals release as we we have learned that GNU licensing for FFTW and GSL is incompatible with UCB licensing
Since we are still supporting i386 processors, we need to configure fftw
to build a universal version. To configure for i386 and x86_64:
-
./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E"
-
Then
sudo make
to compile thelibfftw3.a
in the../fftw/.libs
directory. Note that we don't invokemake install
as we need the xcode project to refer to this specific location. This is the (default) double precision version. However, there are some files that refer to the floating point version. To add the floating point version you need to repeat the above steps, but with the single precision flag--enable-single
: -
./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E" --enable-single
-
Then
sudo make
to compile thelibfftw3f.a
in the../fftw/.libs
directory.
Same situation with GSL as fftw: configure for both i386 and x86_64:
./configure CC="gcc -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E"
sudo make
The instructions for configuring and making these libraries can be found here.
Cycling's SDK can be found here
git clone [email protected]:Cycling74/max6-sdk.git
...into the local CNMAT building directory, one level up from the xcode project.
The Makefile expects it in the ../OSC-kit
directory for building legacy OSC objects.
The OSC kit is in a different CNMAT repo: https://github.com/CNMAT/CNMAT-OSC
-- Rama Gottfried / Jeff Lubow, 11/19/14