Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: building for blue w api fails : cannot find -lcsnd

Date2009-12-22 21:02
Frommichael.gogins@gmail.com
Subject[Csnd] Re: Re: Re: Re: building for blue w api fails : cannot find -lcsnd
Reads MusicXML files into the CsoundFile component of CppSound. This could 
be quite useful for rendering MusicXML exported from notation software 
directly with Csound.

The MusicXML library lives at:

http://libmusicxml.sourceforge.net/

This should be configurable in SConstruct, though.

Hope this helps,
Mike

----- Original Message ----- 
From: "Steven Yi" 
To: 
Sent: Tuesday, December 22, 2009 3:05 PM
Subject: [Csnd] Re: Re: Re: building for blue w api fails : cannot 
find -lcsnd


Hmmm... I keep getting:

/usr/bin/ld: cannot find -lmusicxml2

Anyone know what this is for and how to remedy?

steven

On Tue, Dec 22, 2009 at 2:42 PM, PINOT Francois  wrote:
> Atte André Jensen a écrit :
>>
>> Steven Yi wrote:
>>
>>> I'm going to try to build on Linux now to see if I can help. Are you
>>> using Ubuntu?
>>
>> Thanks Steven. Yes, I'm using ubuntu 9.10.
>>
> Here's how I build csound with java wrapper on ubuntu 9.10. Hope it helps
>
> Francois Pinot
>
> Packages installed:
> g++-4.4
> swig
> libsndfile1-dev
> portaudio19-dev
> libasound2-dev (for alsa)
> libjack0.100.0-dev
> libportmidi-dev
> libfltk1.1-dev
> libfluidsynth-dev
> libboost-dev (1,38)
> libgmm-dev
> liblo0-dev (for OSC)
> ladspa-sdk
> dssi-dev
> tcl8.4-dev
> tk8.4-dev
> gettext
> Python-dev (2.6.4)
> sun-java6-jdk
> scons 1.2.0
>
> These two lines added in custom.py after the line customCPPPATH=[]:
> customCPPPATH.append('/usr/lib/jvm/java-6-sun/include')
> customCPPPATH.append('/usr/lib/jvm/java-6-sun/include/linux')
>
> I use the following script from the csound5 source directory to build
> csound:
>
> scons \
> useDouble=1 \
> noFLTKThreads=0 \
> useOSC=1 \
> buildPythonOpcodes=1 \
> buildRelease=1 \
> dynamicCsoundLibrary=1 \
> buildTclcsound=1 \
> buildInterfaces=1 \
> buildPythonWrapper=1 \
> buildJavaWrapper=1 \
> gcc4opt=native \
> 2>&1 | tee ../csound5build.log
>
> When csound is built, I run this command:
> sudo python install.py
>
> Then I run this command from /usr/local/lib to add a symlink that is
> missing:
> sudo ln -s libcsnd.so.5.2 libcsnd.so
>
> And finally I run this command from /usr/lib to create a symlink for the
> java
> wrapper lib:
> sudo ln -s /usr/local/lib/lib_jcsound.so lib_jcsound.so
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound" 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-22 21:33
FromSteven Yi
Subject[Csnd] Re: Re: Re: Re: Re: building for blue w api fails : cannot find -lcsnd
Hmm... I don't see it in scons as an option.  Strange thing is that
the check for musicxml passes:

Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
C++ library musicxml2... (cached) yes

So it seems something is off.

On Tue, Dec 22, 2009 at 4:02 PM,   wrote:
> Reads MusicXML files into the CsoundFile component of CppSound. This could
> be quite useful for rendering MusicXML exported from notation software
> directly with Csound.
>
> The MusicXML library lives at:
>
> http://libmusicxml.sourceforge.net/
>
> This should be configurable in SConstruct, though.
>
> Hope this helps,
> Mike
>
> ----- Original Message ----- From: "Steven Yi" 
> To: 
> Sent: Tuesday, December 22, 2009 3:05 PM
> Subject: [Csnd] Re: Re: Re: building for blue w api fails : cannot find
> -lcsnd
>
>
> Hmmm... I keep getting:
>
> /usr/bin/ld: cannot find -lmusicxml2
>
> Anyone know what this is for and how to remedy?
>
> steven
>
> On Tue, Dec 22, 2009 at 2:42 PM, PINOT Francois  wrote:
>>
>> Atte André Jensen a écrit :
>>>
>>> Steven Yi wrote:
>>>
>>>> I'm going to try to build on Linux now to see if I can help. Are you
>>>> using Ubuntu?
>>>
>>> Thanks Steven. Yes, I'm using ubuntu 9.10.
>>>
>> Here's how I build csound with java wrapper on ubuntu 9.10. Hope it helps
>>
>> Francois Pinot
>>
>> Packages installed:
>> g++-4.4
>> swig
>> libsndfile1-dev
>> portaudio19-dev
>> libasound2-dev (for alsa)
>> libjack0.100.0-dev
>> libportmidi-dev
>> libfltk1.1-dev
>> libfluidsynth-dev
>> libboost-dev (1,38)
>> libgmm-dev
>> liblo0-dev (for OSC)
>> ladspa-sdk
>> dssi-dev
>> tcl8.4-dev
>> tk8.4-dev
>> gettext
>> Python-dev (2.6.4)
>> sun-java6-jdk
>> scons 1.2.0
>>
>> These two lines added in custom.py after the line customCPPPATH=[]:
>> customCPPPATH.append('/usr/lib/jvm/java-6-sun/include')
>> customCPPPATH.append('/usr/lib/jvm/java-6-sun/include/linux')
>>
>> I use the following script from the csound5 source directory to build
>> csound:
>>
>> scons \
>> useDouble=1 \
>> noFLTKThreads=0 \
>> useOSC=1 \
>> buildPythonOpcodes=1 \
>> buildRelease=1 \
>> dynamicCsoundLibrary=1 \
>> buildTclcsound=1 \
>> buildInterfaces=1 \
>> buildPythonWrapper=1 \
>> buildJavaWrapper=1 \
>> gcc4opt=native \
>> 2>&1 | tee ../csound5build.log
>>
>> When csound is built, I run this command:
>> sudo python install.py
>>
>> Then I run this command from /usr/local/lib to add a symlink that is
>> missing:
>> sudo ln -s libcsnd.so.5.2 libcsnd.so
>>
>> And finally I run this command from /usr/lib to create a symlink for the
>> java
>> wrapper lib:
>> sudo ln -s /usr/local/lib/lib_jcsound.so lib_jcsound.so
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"