Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OlaOutput Build Instructions"

From wiki.openlighting.org

Jump to: navigation, search
Line 1: Line 1:
 +
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 SDK ==
  

Revision as of 07:23, 1 May 2015

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.

Install XCode

Download XCode

Install OLA

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
-rw-r--r--@   1 simonn  5000       516 Oct 21  2013 MaxAPI-6.1.4.html
-rw-r--r--@   1 simonn  5000   4419158 Oct 21  2013 MaxAPI-6.1.4.pdf
drwxr-xr-x@   5 simonn  5000       170 Oct 21  2013 c74support
drwxr-xr-x@  14 simonn  5000       476 Oct 25  2013 examples
drwxr-xr-x@ 398 simonn  5000     13532 Oct 21  2013 html
drwxr-xr-x    8 simonn  wheel      272 May  1 22:04 olaoutput

Build

Start XCode and open the olaoutput/olaoutput/olaoutput.xcodeproj file. You should see something like the screenshot below.

Olaoutput-xcode1.png

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.