Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Sconstruct2 does not build csnd or CsoundAC on Windows

Date2008-04-15 23:01
Fromvictor
SubjectRe: [Cs-dev] Sconstruct2 does not build csnd or CsoundAC on Windows
Did you try building with SConstruct? I can build CsoundAC here without any 
problems
(on Windows).

Victor

----- Original Message ----- 
From: "Michael Gogins" 
To: "Developer discussions" 
Sent: Tuesday, April 15, 2008 3:26 AM
Subject: [Cs-dev] Sconstruct2 does not build csnd or CsoundAC on Windows


> _csnd.pyd fails to link:
>
> g++ -shared -mwindows -mno-cygwin -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
> -module -Wl,--add-stdcall-alias -o _csn
> d.pyd
> interfaces\python_interface_wrap.o -L. -L. -LD:\usr\local\lib -L. -L. -LU:\libsndfile-1_0_17
> -LU:\portaudio\build\msvc\Win32\R
> elease -LU:\portmidi\pm_win -LU:\portmidi\porttime\Release -LU:\portmidi\pm_win\Release
> -LU:\fltk-mingw\lib -LU:\zlib -LU:\libpng-1.
> 2.24\.libs -LU:\Python25\libs -LU:\LuaJIT-1.1.4 -LU:\Tcl\lib -LU:\fluidsynth\winbuild
> -LU:\dxsdk\Lib\x86 -LU:\liblo -LU:\pthreads\Pr
> e-built.2\lib -LU:\pd\bin -lpython25 -lstdc++ -lcsound64 -lsndfile -lportaudio
> -lportmidi -lfltk -llo -lsndfile -ladvapi32 -lcomctl3
> 2 -lcomdlg32 -lglu32 -lkernel32 -lmsvcrt -lodbc32 -lodbccp32 -lole32 -loleaut32
> -lshell32 -luser32 -luuid -lwinmm -lwinspool -lws2_3
> 2 -lwsock32 -ladvapi32 -lcomctl32 -lcomdlg32 -lglu32 -lkernel32 -lodbc32 -lodbccp32
> -lole32 -loleaut32 -lshell32 -luser32 -luuid -lw
> inmm -lwinspool -lws2_32 -lwsock32 -lbufferoverflowu -lwinmm csnd.dll
> libcsnd.a csnd.def -Wl,--out-implib,lib_csnd.a -Wl,--output-de
> f,_csnd.def
> Creating library file: lib_csnd.a
> d000000.o:(.idata$2+0x0): multiple definition of `_head_csnd_dll'
> libcsnd.a(d000000.o):(.idata$2+0x0): first defined here
> d000160.o:(.idata$7+0x0): multiple definition of `csnd_dll_iname'
> libcsnd.a(d000406.o):(.idata$7+0x0): first defined here
> Cannot export _ZTV10CsoundFile: symbol not found
> Cannot export _ZTV8CppSound: symbol not found
> collect2: ld returned 1 exit status
> scons: *** [_csnd.pyd] Error 1
> scons: building terminated because of errors.
>
> If I try to fix that by making csnd a static library, then the Python
> message callback in csnd, which brings in Python, is linked with 
> CsoundVST.
> However, CsoundVST must never link with Python.
>
> If I try to fix that, then there are multiple Python import symbols in the
> CsoundAC link.
>
> There may be more problems, but that is where I quit.
>
> Regards,
> Mike
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net