System Requirements
os x 10.2 (jaguar)
libsndfile (see below)
DevTools December 02
Compiling the sources:
open the .pbproj files in ProjectBuilder (developer tools)
build the three projects in this order:
SC3synth.pbproj
SC3plugins.pbproj
SC3lang.pbproj
Optionally you can build from the command line using pbxbuild. Just cd to the SC3.pbproj folder and type pbxbuild. It can be nice to have this in a shell script to build them all, said shell script looks like (without the beginning slash, which is there so the swiki doesn't turn the # into a 1.) Note also that the argument to buildstyle may also be set to 'Deployment', for -O3 optimization.
\#!/bin/sh
cd SC3synth.pbproj && pbxbuild -buildstyle Development
cd ..
cd SC3plugins.pbproj && pbxbuild -buildstyle Development
cd ..
cd SC3lang.pbproj && pbxbuild -buildstyle Development
cd ..
You can place the above in a file called compile.sh or whatever name you want. Make sure to chmod 700 compile.sh afterwards to make it executable.
Anonymous CVS checkout
the way to get the whole project is to use CVS to check out the module.
This can be done by going to your Terminal window.
cd to the directory where you want to put it, for example:
cd ~/dev
Then type the following command:
cvs -d:pserver:anonymous@cvs.supercollider.sourceforge.net:/cvsroot/supercollider login
When it asks for the password, just press enter and wait for the prompt to return.
Now type the following command. This will take some time as it checks out all the files for the project.
cvs -z3 -d:pserver:anonymous@cvs.supercollider.sourceforge.net:/cvsroot/supercollider co SuperCollider3
You should see lines like the following:
cvs server: Updating SuperCollider3
U SuperCollider3/.DS_Store
U SuperCollider3/COPYING
...
After this you will have the project in a folder named SuperCollider3.
To learn more about cvs you can read tutorials here:
http://cvsbook.red-bean.com/cvsbook.html
or here:
http://developer.apple.com/darwin/tools/cvs/cederquist/
-felix
building libsndfile
you will need to get this to compile sc
get it from:
http://www.zip.com.au/~erikd/libsndfile/
or:
curl http://www.zip.com.au/~erikd/libsndfile/libsndfile-1.0.4.tar.gz > libsndfile-1.0.4.tar.gz
tar xvzf libsndfile-1.0.4.tar
cd libsndfile-1.0.4
./configure
make
sudo make install
(note: this requires entering your admin password, sudo is like a temporary su to root)
-ian/julian
CVS settings
i strongly reccommend putting this:
diff -pRbBrHEAD
update -dP
history -c
in your ~/.cvsrc file
this will make these the default flags for these commands.
diff will always compare with the most recent version. it will go recursively from your current directory on down. the other flags improve the readibility.
Q quiet
p show which C function (or sc class !)
R recursive
bB ignore white space changes
update will prune folders that have had their contents removed. this is a common problem with CVS, its tricky to remove things.
history will show everybody's history, not just your own.
-felix