| It should be easy to deal with the undefined _CreateCsoundVST. Presumably,
you have now built _CsoundVST.so or .dylib or whatever. You now need to add
that library to your link line for csoundvst_main (and perhaps other
libraries as well, see the Linux link line for ideas).
Regards,
Mike
----- Original Message -----
From: "Graham Breed"
To:
Sent: Thursday, September 01, 2005 8:18 AM
Subject: Re: [Cs-dev] Csound 5 status
> Michael Gogins wrote:
>> Two problems here. As you note, you're failing to link with the Python
>> library, and you need to extend another #ifdef from LINUX to MACOSX for
>> the threading stuff in CsoundVST's System class.
>>
>> Perhaps you can patch up custom.py to point to your Python library.
>> Perhaps someone who's more familiar with OS X development can help with
>> the Python linkage, or google on the Python and Mac developer lists.
>
> As it happens, I've used Swig with Python on OSX before, and you don't
> have to specify the Python libraries at all. What I did is add
> "-undefined suppress -flat_namespace" when linking. But without the
> quotes, which get added if I do the obvious with custom.py. Instead, this
> works:
>
> customSHLINKFLAGS.append('-undefined')
> customSHLINKFLAGS.append('suppress')
> customSHLINKFLAGS.append('-flat_namespace')
>
> Or at least appears to. That leaves me with
>
> g++ -o CsoundVST
> frontends/CsoundVST/csoundvst_main.o -L. -L. -L/usr/local/lib -L. -L. -lstdc++
> -lpthread -lm
> ld: Undefined symbols:
> _CreateCsoundVST
>
> That's a reassuringly simple error, but at this point I have no idea what
> do do about it.
>
>> I hope if you get this to compile, that you will either book your changes
>> into Csound 5 CVS (if you are a Csound developer; if not, may wish to
>> become one) or email a zip of them to me so I can merge them.
>
> I don't have developer access, and it's reassuring to know I can't
> accidentally break anything. How about I send the patches here? Also, I
> can post the full scons output, if anybody wants to check the warnings.
>
>
> Graham
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |