Csound Csound-dev Csound-tekno Search About

[Cs-dev] CsoundVST Linking Error

Date2006-02-02 22:58
FromDavid Akbari
Subject[Cs-dev] CsoundVST Linking Error
Hi all,

I've been able to compile CsoundVST with Boost headers using GCC-4.0 in  
Mac OS 10.3.9. However I'm still not able to successfully link it with  
it's dependencies it seems like.

What do the following errors mean and how can I fix them ? I just  
reconfigured and reinstalled FLTK-1.1.7 using the --enable-shared  
--enable-quartz CC=g++ as configure flags

g++ -framework python -dynamiclib --no-export-all-symbols  
--add-stdcall-alias -o lib_CsoundVST.dylib  
frontends/CsoundVST/CsoundVST_wrap.os  
frontends/CsoundVST/AudioEffect.os frontends/CsoundVST/audioeffectx.os  
frontends/CsoundVST/Cell.os frontends/CsoundVST/Composition.os  
frontends/CsoundVST/Conversions.os frontends/CsoundVST/Counterpoint.os  
frontends/CsoundVST/CounterpointNode.os  
frontends/CsoundVST/CsoundVST.os frontends/CsoundVST/CsoundVstFltk.os  
frontends/CsoundVST/CsoundVSTMain.os frontends/CsoundVST/CsoundVstUi.os  
frontends/CsoundVST/Event.os frontends/CsoundVST/Hocket.os  
frontends/CsoundVST/ImageToScore.os frontends/CsoundVST/Lindenmayer.os  
frontends/CsoundVST/MCRM.os frontends/CsoundVST/Midifile.os  
frontends/CsoundVST/MusicModel.os frontends/CsoundVST/Node.os  
frontends/CsoundVST/Random.os frontends/CsoundVST/Rescale.os  
frontends/CsoundVST/Score.os frontends/CsoundVST/ScoreNode.os  
frontends/CsoundVST/Sequence.os frontends/CsoundVST/Shell.os  
frontends/CsoundVST/Soundfile.os  
frontends/CsoundVST/StrangeAttractor.os frontends/CsoundVST/System.os  
-L. -L. -L/usr/local/lib -L. -L.  
-L/System/Library/Frameworks/Python.Framework/Versions/Current/lib  
-L/System/Library/Frameworks/Python.Framework/Versions/Current/lib/ 
python2.3/config -lcsound -lsndfile -l_csnd -lfltk -lfltk_images  
-lfltk_png -lz -lfltk_jpeg -lstdc++ -lpthread -lm -ldl -lm
ld: table of contents for archive: /usr/local/lib/libfltk_jpeg.a is out  
of date; rerun ranlib(1) (can't load from it)
ld: warning multiple definitions of symbol _ZN4Swig8DirectorD0Ev.eh
frontends/CsoundVST/CsoundVST_wrap.os definition of absolute  
_ZN4Swig8DirectorD0Ev.eh (value 0x0)
./lib_csnd.dylib(python_interface_wrap.os) definition of  
_ZN4Swig8DirectorD0Ev.eh
ld: warning multiple definitions of symbol _ZN4Swig8DirectorD1Ev.eh
frontends/CsoundVST/CsoundVST_wrap.os definition of absolute  
_ZN4Swig8DirectorD1Ev.eh (value 0x0)
./lib_csnd.dylib(python_interface_wrap.os) definition of  
_ZN4Swig8DirectorD1Ev.eh
ld: warning multiple definitions of symbol _ZN4Swig8DirectorD2Ev.eh
frontends/CsoundVST/CsoundVST_wrap.os definition of absolute  
_ZN4Swig8DirectorD2Ev.eh (value 0x0)
./lib_csnd.dylib(python_interface_wrap.os) definition of  
_ZN4Swig8DirectorD2Ev.eh
ld: warning multiple definitions of symbol  
__ZN4Swig23UnknownExceptionHandler7handlerEv
frontends/CsoundVST/CsoundVST_wrap.os definition of  
__ZN4Swig23UnknownExceptionHandler7handlerEv in section (__TEXT,__text)



-------------------------------------------------------
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-03 09:40
FromVictor Lazzarini
SubjectRe: [Cs-dev] CsoundVST Linking Error
VST cannot be built on OSX because the dylib it uses has to be both a
bundle and a dynamic lib. I've been there before, no can do...

Victor

At 22:58 02/02/2006, you wrote:
>Hi all,
>
>I've been able to compile CsoundVST with Boost headers using GCC-4.0 in
>Mac OS 10.3.9. However I'm still not able to successfully link it with
>it's dependencies it seems like.
>
>What do the following errors mean and how can I fix them ? I just
>reconfigured and reinstalled FLTK-1.1.7 using the --enable-shared
>--enable-quartz CC=g++ as configure flags
>
>g++ -framework python -dynamiclib --no-export-all-symbols
>--add-stdcall-alias -o lib_CsoundVST.dylib
>frontends/CsoundVST/CsoundVST_wrap.os
>frontends/CsoundVST/AudioEffect.os frontends/CsoundVST/audioeffectx.os
>frontends/CsoundVST/Cell.os frontends/CsoundVST/Composition.os
>frontends/CsoundVST/Conversions.os frontends/CsoundVST/Counterpoint.os
>frontends/CsoundVST/CounterpointNode.os
>frontends/CsoundVST/CsoundVST.os frontends/CsoundVST/CsoundVstFltk.os
>frontends/CsoundVST/CsoundVSTMain.os frontends/CsoundVST/CsoundVstUi.os
>frontends/CsoundVST/Event.os frontends/CsoundVST/Hocket.os
>frontends/CsoundVST/ImageToScore.os frontends/CsoundVST/Lindenmayer.os
>frontends/CsoundVST/MCRM.os frontends/CsoundVST/Midifile.os
>frontends/CsoundVST/MusicModel.os frontends/CsoundVST/Node.os
>frontends/CsoundVST/Random.os frontends/CsoundVST/Rescale.os
>frontends/CsoundVST/Score.os frontends/CsoundVST/ScoreNode.os
>frontends/CsoundVST/Sequence.os frontends/CsoundVST/Shell.os
>frontends/CsoundVST/Soundfile.os
>frontends/CsoundVST/StrangeAttractor.os frontends/CsoundVST/System.os
>-L. -L. -L/usr/local/lib -L. -L.
>-L/System/Library/Frameworks/Python.Framework/Versions/Current/lib
>-L/System/Library/Frameworks/Python.Framework/Versions/Current/lib/ 
>python2.3/config -lcsound -lsndfile -l_csnd -lfltk -lfltk_images
>-lfltk_png -lz -lfltk_jpeg -lstdc++ -lpthread -lm -ldl -lm
>ld: table of contents for archive: /usr/local/lib/libfltk_jpeg.a is out
>of date; rerun ranlib(1) (can't load from it)
>ld: warning multiple definitions of symbol _ZN4Swig8DirectorD0Ev.eh
>frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>_ZN4Swig8DirectorD0Ev.eh (value 0x0)
>./lib_csnd.dylib(python_interface_wrap.os) definition of
>_ZN4Swig8DirectorD0Ev.eh
>ld: warning multiple definitions of symbol _ZN4Swig8DirectorD1Ev.eh
>frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>_ZN4Swig8DirectorD1Ev.eh (value 0x0)
>./lib_csnd.dylib(python_interface_wrap.os) definition of
>_ZN4Swig8DirectorD1Ev.eh
>ld: warning multiple definitions of symbol _ZN4Swig8DirectorD2Ev.eh
>frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>_ZN4Swig8DirectorD2Ev.eh (value 0x0)
>./lib_csnd.dylib(python_interface_wrap.os) definition of
>_ZN4Swig8DirectorD2Ev.eh
>ld: warning multiple definitions of symbol
>__ZN4Swig23UnknownExceptionHandler7handlerEv
>frontends/CsoundVST/CsoundVST_wrap.os definition of
>__ZN4Swig23UnknownExceptionHandler7handlerEv in section (__TEXT,__text)
>
>
>
>-------------------------------------------------------
>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

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
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-03 15:36
FromDavid Akbari
SubjectRe: [Cs-dev] CsoundVST Linking Error
Oh noes !!

Well, at least all the opcodes build. I would think though that it  
could just use the *.os files instead of the .dylib ? From the  
computer's point of view is a .dylib really that different from a .os  
so that they're binary incompatible ?

I thank you humbly for your guidance; I was really hoping to see  
CsoundVST on the Mac :/


-David

On Feb 3, 2006, at 4:40 AM, Victor Lazzarini wrote:

> VST cannot be built on OSX because the dylib it uses has to be both a
> bundle and a dynamic lib. I've been there before, no can do...
>
> Victor
>
> At 22:58 02/02/2006, you wrote:
>> Hi all,
>>
>> I've been able to compile CsoundVST with Boost headers using GCC-4.0  
>> in
>> Mac OS 10.3.9. However I'm still not able to successfully link it with
>> it's dependencies it seems like.
>>
>> What do the following errors mean and how can I fix them ? I just
>> reconfigured and reinstalled FLTK-1.1.7 using the --enable-shared
>> --enable-quartz CC=g++ as configure flags
>>
>> g++ -framework python -dynamiclib --no-export-all-symbols
>> --add-stdcall-alias -o lib_CsoundVST.dylib
>> frontends/CsoundVST/CsoundVST_wrap.os
>> frontends/CsoundVST/AudioEffect.os frontends/CsoundVST/audioeffectx.os
>> frontends/CsoundVST/Cell.os frontends/CsoundVST/Composition.os
>> frontends/CsoundVST/Conversions.os frontends/CsoundVST/Counterpoint.os
>> frontends/CsoundVST/CounterpointNode.os
>> frontends/CsoundVST/CsoundVST.os frontends/CsoundVST/CsoundVstFltk.os
>> frontends/CsoundVST/CsoundVSTMain.os  
>> frontends/CsoundVST/CsoundVstUi.os
>> frontends/CsoundVST/Event.os frontends/CsoundVST/Hocket.os
>> frontends/CsoundVST/ImageToScore.os frontends/CsoundVST/Lindenmayer.os
>> frontends/CsoundVST/MCRM.os frontends/CsoundVST/Midifile.os
>> frontends/CsoundVST/MusicModel.os frontends/CsoundVST/Node.os
>> frontends/CsoundVST/Random.os frontends/CsoundVST/Rescale.os
>> frontends/CsoundVST/Score.os frontends/CsoundVST/ScoreNode.os
>> frontends/CsoundVST/Sequence.os frontends/CsoundVST/Shell.os
>> frontends/CsoundVST/Soundfile.os
>> frontends/CsoundVST/StrangeAttractor.os frontends/CsoundVST/System.os
>> -L. -L. -L/usr/local/lib -L. -L.
>> -L/System/Library/Frameworks/Python.Framework/Versions/Current/lib
>> -L/System/Library/Frameworks/Python.Framework/Versions/Current/lib/  
>> python2.3/config -lcsound -lsndfile -l_csnd -lfltk -lfltk_images
>> -lfltk_png -lz -lfltk_jpeg -lstdc++ -lpthread -lm -ldl -lm
>> ld: table of contents for archive: /usr/local/lib/libfltk_jpeg.a is  
>> out
>> of date; rerun ranlib(1) (can't load from it)
>> ld: warning multiple definitions of symbol _ZN4Swig8DirectorD0Ev.eh
>> frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>> _ZN4Swig8DirectorD0Ev.eh (value 0x0)
>> ./lib_csnd.dylib(python_interface_wrap.os) definition of
>> _ZN4Swig8DirectorD0Ev.eh
>> ld: warning multiple definitions of symbol _ZN4Swig8DirectorD1Ev.eh
>> frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>> _ZN4Swig8DirectorD1Ev.eh (value 0x0)
>> ./lib_csnd.dylib(python_interface_wrap.os) definition of
>> _ZN4Swig8DirectorD1Ev.eh
>> ld: warning multiple definitions of symbol _ZN4Swig8DirectorD2Ev.eh
>> frontends/CsoundVST/CsoundVST_wrap.os definition of absolute
>> _ZN4Swig8DirectorD2Ev.eh (value 0x0)
>> ./lib_csnd.dylib(python_interface_wrap.os) definition of
>> _ZN4Swig8DirectorD2Ev.eh
>> ld: warning multiple definitions of symbol
>> __ZN4Swig23UnknownExceptionHandler7handlerEv
>> frontends/CsoundVST/CsoundVST_wrap.os definition of
>> __ZN4Swig23UnknownExceptionHandler7handlerEv in section  
>> (__TEXT,__text)
>>
>>
>>
>> -------------------------------------------------------
>> 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
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> -------------------------------------------------------
> 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