| The type punning warning is caused by passing int for CSOUND* which in this context is normal.
The swigpy requirement arises because SWIG needs to maintain in memory a database of SWIG types for type casting between different SWIG modules. The CsoundVST SWIG setup currently instructs CsoundVST itself to build this database instead of loading it as a separate shared library (swigpy). I think I can make the _csnd shared library include this as well.
I plan to make _csnd be the "base module" and to have _CsoundVST "inherit" from it, in which case the swigpy stuff should be removed from _CsoundVST and added to _csnd. I don't think it would work to have 2 of these objects in the same process.
Regards,
Mike
-----Original Message-----
From: Istvan Varga
Sent: Oct 24, 2005 9:36 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Another Build Error
Michael Gogins wrote:
> I am not sure, I made several changes to get a running _csnd.dll.
> I can look at this tonight.
I just committed a few changes that fixed the errors on Linux (at least
my machine, it may possibly depend on version numbers). Also, for some
reason I needed to add 'swigpy' to the libraries; this is somewhat odd
given that _CsoundVST.so does not have this requirement while _csnd.so
does. However, after these modifications, I was able to build the library,
start the Python interpreter, import csnd, and then compile and perform
a CSD file, set score offset, etc. so it seems to work. I still get a lot
of compiler warnings about type punning in the SWIG-generated C file, but
that may be normal.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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 JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |