Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Building CsoundLib.framework

Date2006-02-11 09:31
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building CsoundLib.framework
you need to do dynamicCsoundLibrary=1.

Also you'll need to have write permissions to
/Library/Frameworks
(generally if you have admin rights this should be OK),
otherwise
the framework can't be copied there. That directory is rw
for
owner and group, that means if you are either 'root' or
in the 'admin' group. You can use chmod to change
permissions
if you need it.

Victor

>
> Hi List --
>
> What's the proper way to build the CsoundLib.framework
> from CVS ? Is it  built by default when buildRelease=1 ?
>
> For example, if you just get CVS sources on a clean
> machine *without*  installing the CsoundLib.framework
> package from SourceForge, errors  result when trying to
> compile the XCode GUI app, since it tries to use  header
> files and link against libraries found in the .framework.
> Of  course simply installing only the CsoundLib.pkg is a
> solution, but then  you are using 2 different builds.
>
> Is there a way to build with the framework first then run
> another  SConstruct pass to build the GUI app ? What
> SConstruct flags would  accomplish this ?
>
>
> -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://sel.as-us.falkag.net/sel?
cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-11 18:02
FromAnthony Kozar
SubjectRe: [Cs-dev] Building CsoundLib.framework
Regarding building on OS X.  I was building from CVS a few nights ago
because I wanted to get SWIG-generated files to copy for OS 9.  I built with
dynamicCsoundLibrary=1 and noDebug=1 but was not invoking the install
targets.  I was surprised when SConstruct attempted to copy the files into
/Library/Frameworks.

I only wanted to build a test system and I did not want to overwrite the
5.00 release that I had installed.  So I had to modify SConstruct to not
copy the files.  The problem with that was the commandline binaries then
linked to the release framework instead of being linked to my newly-built
libraries.

Is there a way that SConstruct could be modified so that you can build in a
"sandbox" and test changes, etc. without affecting your "good" copy of
Csound?

Thanks.

Anthony

PS>  BTW, I built the Python and Lua wrappers, Loris and STK opcodes on OS X
while I was at it.  Seemed to work.  Could not find the headers to build the
Java wrapper though and I was not sure where to point SConstruct ...

PPS>  I also have the Loris opcodes built on OS 9 now and they work
(although very slowly and only with a lot of memory! :)


Victor Lazzarini wrote on 2/11/06 4:31 AM:

> you need to do dynamicCsoundLibrary=1.
> 
> Also you'll need to have write permissions to
> /Library/Frameworks
> (generally if you have admin rights this should be OK),
> otherwise
> the framework can't be copied there. That directory is rw
> for
> owner and group, that means if you are either 'root' or
> in the 'admin' group. You can use chmod to change
> permissions
> if you need it.



-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-02-11 18:13
FromIstvan Varga
SubjectRe: [Cs-dev] Building CsoundLib.framework
AttachmentsNone