View Installing Oscpack on OS X
Installing oscpack for OS X
Step 1: Get the Latest Source Code
If you haven’t already, install subversion, instructions here.
Oscpack comes with Opentouch
Open Terminal, create a directory where you want to put opentouch. I put mine at ~/opentouch/r# (the # just stands for whatever the current revision is, r64 as of this writing). You can use these commands to do that:
cd /Users/yourusername
mkdir -p opentouch/r64
cd opentouch/r64
Then checkout the source from googlecode with this command:
svn checkout http://opentouch.googlecode.com/svn/trunk/
That downloads the current revision to whatever directory you are in in the terminal (/users/yourusername/opentouch/r64 in this example)
Step 2:Modify the makefile.
Open up finder and navigate to ~/opentouch/trunk/src/oscpack
Delete “makefile” . Rename MakefileLinux to makefile - ignore makefileOSX.
Open up the file you just renamed makefile in textedit.
5 Lines down, change
ENDIANESS=OSC_HOST_LITTLE_ENDIAN
to
ENDIANESS=OSC_HOST_BIG_ENDIAN
About 8 lines down, change
INCLUDES = -I./
to
INCLUDES = -I./ -I./ip/
Step 3: Make
Back to terminal. You should still be in ~/opentouch/trunk/src/oscpack Type in:
make
Wait for the prompt, if there are no errors, you’re done!