OlaOutput Build Instructions
This describes how to build a 64bit version of the OlaOutput MAX/MSP plugin. Building a 32bit plugin is left as an exercise for the reader.
Download the Max SDK
Download the MAX/MSP SDK from https://cycling74.com/downloads/sdk/. Extract the zip file.
Follow the instructions for installing OLA. The easiest way is to install using MacPorts, which will install into the /opt/local path.
Clone the OlaOutput Git Repo
Clone the git repo.
Move the olaoutput directory under the Max SDK directory from the zip file. It should now look something like:
simon:~/Downloads/MaxSDK-6.1.4 $ ls -l total 8640 [email protected] 1 simonn 5000 516 Oct 21 2013 MaxAPI-6.1.4.html [email protected] 1 simonn 5000 4419158 Oct 21 2013 MaxAPI-6.1.4.pdf [email protected] 5 simonn 5000 170 Oct 21 2013 c74support [email protected] 14 simonn 5000 476 Oct 25 2013 examples [email protected] 398 simonn 5000 13532 Oct 21 2013 html drwxr-xr-x 8 simonn wheel 272 May 1 22:04 olaoutput
Start XCode and open the olaoutput/olaoutput/olaoutput.xcodeproj file. You should see something like the screenshot below.
Note that XCode can't find commonsyms.c or libprotobuf.8.dylib. Click on commonsyms.c on the left, then in the right panel click on the folder icon and navigate to c74support/max-includes/common/commonsyms.c .
For libprotobuf.8.dylib, it's a similar story, click on the folder icon and then select /opt/local/lib/libprotobuf.9.dylib. If you didn't use MacPorts to install OLA, the protobuf library may be in a different location.