| On Dec 29, 2005, at 2:04 PM, Victor Lazzarini wrote:
> Someone else has also compiled a list of what is needed
> and how to get it for the Mac. I think it's somewhere in
> csounds.com. Are you there David? Do you know where it is?
>
> Victor
>
>> yes, but never figured out how to compile. [ you have to
>> use a commandline!?!?? :) ]
>> but Victor just sent me some helpful instructions, so
>> hopefully i can do it..
Hello, sir!
Although I am *very* behind on reading these emails (the first free
moment to even BREATHE is now)
The currently posted instructions on how to compile Csound5 on OS X are
listed below although they could be very well in need of some revision
... if other users can suggest specifics on what needs to be updated I
would be most grateful !
Anyway,
http://csounds.com/resources/HOWTO-Csound5_OS_X.dmg
--> This disk image (13MB) contains updated HOWTO documentation for
getting Csound5 running on your OS X machines. It also includes the
required software packages libpng, libsndfile, Python, scons, and FLTK.
http://csounds.com/resources/HOWTO-docs-only-Csound5_OS_X.zip
--> Docs only version; In the first section of the HOWTO you'll find
URLs where you can find the necessary dependencies.
I can say from experience that I compile Csound5 on OS X thusly:
1) Open Terminal.app (press Shift + Apple + U when Finder is active to
open /Applications/Utilites folder quickly).
2) Type "cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/csound co -P csound5"
(I have this in a shell script but that's what the shell is doing) to
get current CVS sources.
3) Type "cd" to the directory where you downloaded CVS sources.
4) Type "open -e SConstruct" -> Then change the dependencies in the
file.
5) Type "scons".
6) After building type "csound -z1" (optionally "csound -z1 >
opcodeList.txt" in a tcsh or "csound -z1 &> opcodeList.txt" in a bash)
to make sure all opcode plugin libraries have compiled and load
correctly.
Special note: On Mac OS X Panther, it is possible to set environment
variables by a special .plist file. These environment variables are
uniform for *all* shells INCLUDING wrappers for libcsound such as
csoundapi~ for Pd. In fact, I do not know of any other way to set
environment variables for the Aqua environment other than this. If
anyone reading this does know, I would again be extremely grateful to
acquire this technique.
This special file is called "Environment.plist" and lives in
~/.MacOSX/Environment.plist
Here is the contents of this file for reference:
OPCODEDIR
/Users/daveakbari/CVS/csound5
OPCODEDIR64
/Users/daveakbari/CVS/csound5
INCDIR
/Users/daveakbari/CODE/_UDO
SFDIR
/loops
Unfortunately, I have not yet figured out this technique's equivalent
for Mac OS 10.4. I would be most interested in discovering this
technique's equivalent for Mac OS 10.4 !! Although this existing
technique for Panther (Mac OS 10.3) was quite obscurely located in
Apple's developer database, to say the least.
Due to the frustration I have endured in not being able to solve the
Aqua environment variable issue on Mac OS 10.4 Tiger, I have even gone
so far as to compile a version of Csound5 that contains all code from
the opcodes in a single, static libcsound.a. All opcodes are loaded
without the need for environment variables.
It can be downloaded here:
http://www.csounds.com/akbari/csapi_110.dmg
|
-> Note that this version is a few months out of date from the Csound5
CVS module and is far inferior to simply getting sources from CVS; but
it is nonetheless a way to run csoundapi~ for Pd *without* setting
environment variables. (On Mac OS 10.4 for example)
-David
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |