Skip to content

frixid/CNMAT-Externs

 
 

Repository files navigation

CNMAT-Externs

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

Dependencies

1. FFTW

Since we are still supporting i386 processors, we need to configure fftw to build a universal version. To configure for i386 and x86_64:

  1. ./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E"

  2. Then sudo make to compile the libfftw3.a in the ../fftw/.libs directory. Note that we don't invoke make 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:

  3. ./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E" --enable-single

  4. Then sudo make to compile the libfftw3f.a in the ../fftw/.libs directory.

2. GSL

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

3. libo / libomax

The instructions for configuring and making these libraries can be found here.

4. Max6-SDK

Cycling's SDK can be found here

git clone git@github.com:Cycling74/max6-sdk.git ...into the local CNMAT building directory, one level up from the xcode project.

2. OSC-kit

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

3. SDIF

-- Rama Gottfried / Jeff Lubow, 11/19/14

About

CNMAT Max/MSP externals

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 58.6%
  • Max 28.9%
  • TeX 3.8%
  • Makefile 3.5%
  • C++ 2.0%
  • PostScript 1.1%
  • Other 2.1%