Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Another Build Error

Date2005-10-24 14:29
FromMichael Gogins
SubjectRe: [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 
Sent: Oct 24, 2005 5:43 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Another Build Error

Steven Yi wrote:

> Hi All,
> 
> After commenting out the line with csoundWindowsLibraries to get
> compiling on Linux, I have another build error now:

Is the explicit linking against csoundWindowsLibraries at line 643
actually needed ? csndInterfacesEnvironment is derived from
csoundDynamicLibraryEnvironment which already adds the Windows
libraries to LIBS at line 441. I cannot test this on Windows, though,
so I may be wrong.


-------------------------------------------------------
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

Date2005-10-24 14:36
FromIstvan Varga
SubjectRe: [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

Date2005-10-24 15:37
FromSteven Yi
SubjectRe: [Cs-dev] Another Build Error
AttachmentsNone  

Date2005-10-24 15:51
FromIstvan Varga
SubjectRe: [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

Date2005-10-24 16:39
FromIstvan Varga
SubjectRe: [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

Date2005-10-24 17:12
FromSteven Yi
SubjectRe: [Cs-dev] Another Build Error
AttachmentsNone