Re: [Cs-dev] Another Build Error
Date | 2005-10-24 14:29 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Another Build Error |
I am not sure, I made several changes to get a running _csnd.dll. I can look at this tonight. Regards, Mike -----Original Message----- From: Istvan Varga |
Date | 2005-10-24 14:36 |
From | Istvan Varga |
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 |
Date | 2005-10-24 15:37 |
From | Steven Yi |
Subject | Re: [Cs-dev] Another Build Error |
Attachments | None |
Date | 2005-10-24 15:51 |
From | Istvan Varga |
Subject | Re: [Cs-dev] Another Build Error |
Steven Yi wrote: > I think swigpy was removed from SWIG sometime before 1.3.24 (which is > what I'm using). I had to take it out to get things compiled. I also > had to change the lines in SConstruct right around the line with > swigpy to use python2.4 instead of python2.3 as I don't have > libpython2.3.so on my system. That seem to compile everything and I > was able to start python and import csnd and do a dir(csnd). Beyond > that, haven't tried much and have to run off to work. > > Istvan, what version of SWIG are you using? swig-1.3.21 ------------------------------------------------------- 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 |
Date | 2005-10-24 16:39 |
From | Istvan Varga |
Subject | Re: [Cs-dev] Another Build Error |
I think the solution is probably that I should upgrade to a newer version of SWIG (or perhaps the whole Linux distribution, as it is getting old). The issues related to various Python versions may still be a problem, though. Istvan Varga wrote: > Steven Yi wrote: > >> I think swigpy was removed from SWIG sometime before 1.3.24 (which is >> what I'm using). I had to take it out to get things compiled. I also >> had to change the lines in SConstruct right around the line with >> swigpy to use python2.4 instead of python2.3 as I don't have >> libpython2.3.so on my system. That seem to compile everything and I >> was able to start python and import csnd and do a dir(csnd). Beyond >> that, haven't tried much and have to run off to work. >> >> Istvan, what version of SWIG are you using? > > swig-1.3.21 ------------------------------------------------------- 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 |
Date | 2005-10-24 17:12 |
From | Steven Yi |
Subject | Re: [Cs-dev] Another Build Error |
Attachments | None |