Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Minor error in SConstruct

Date2005-02-09 14:35
From"gogins@pipeline.com"
SubjectRe: [Cs-dev] Minor error in SConstruct
The CsoundVST_wrap.cpp file is not well tracked for dependency by SWIG.
Sometimes I have to manually delete it before rebuilding. Try that before
reverting SWIG. Also what version of gcc are you using? I am on 3.4.2 I
think. 

Original Message:
-----------------
From: Dave Phillips dlphilp@bright.net
Date: Wed, 09 Feb 2005 09:22:22 -0500
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Minor error in SConstruct


Hi John:

  Thanks for the note. I should have actually looked into the code...

  However, the build for CsoundVST now fails as seen below. SWIG is 
1.3.21, I reverted from 1.3.24. Perhaps I should go back to 1.3.24 ?

  Any suggestions ?

Best,

dp


swig -c++ -includeall -verbose -outdir . -I. -I./H 
-I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include 
-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 
-I/usr/X11R6/include -Ifrontends/CsoundVST -I/usr/include/python2.3 
-DCSOUND_WITH_API -DLINUX -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H 
-DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SGTTY_H -DHAVE_SYS_IOCTL_H 
-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H 
-DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_JNI_H -DWINDOWS -DUSE_FLTK 
-python -o frontends/CsoundVST/CsoundVST_wrap.cc 
frontends/CsoundVST/CsoundVST.i
LibDir: python
   ./
   ./
   ./H/
   /usr/local/include/python2.3/
   /usr/local/include/
   /usr/include/
   /usr/X11R6/include/
   /usr/X11R6/include/
   /usr/include/freetype2/
   /usr/X11R6/include/
   frontends/CsoundVST/
   /usr/include/python2.3/
   /usr/local/lib/swig1.3/python/
   ./swig_lib/python/
   /usr/local/lib/swig1.3/config/
   ./swig_lib/config/
   /usr/local/lib/swig1.3/
   ./swig_lib/
Preprocessing...
Starting language-specific parse...
frontends/CsoundVST/Event.hpp:38: Template 'pair' undefined.
frontends/CsoundVST/Event.hpp:164: Warning(362): operator= ignored
frontends/CsoundVST/Event.hpp:165: Warning(362): operator= ignored
frontends/CsoundVST/Midifile.hpp:36: Template 'pair' undefined.
Processing types...

frontends/CsoundVST/Event.hpp:75: Warning(401): Nothing known about 
class 'ublas::vector'. Ignored.
frontends/CsoundVST/Event.hpp:75: Warning(401): Maybe you forgot to 
instantiate 'ublas::vector' using %template.
frontends/CsoundVST/Midifile.hpp:112: Warning(401): Nothing known about 
class 'std::vector'. Ignored.
frontends/CsoundVST/Midifile.hpp:112: Warning(401): Maybe you forgot to 
instantiate 'std::vector' using %template.
C++ analysis...
Generating wrappers...
frontends/CsoundVST/Event.hpp:97: Warning(462): Unable to set variable 
of type int [].
frontends/CsoundVST/Event.hpp:98: Warning(462): Unable to set variable 
of type char const *[].
frontends/CsoundVST/Midifile.hpp:108: Warning(510): friend function 
'operator <' ignored.
frontends/CsoundVST/Node.hpp:50: Warning(515): Target language argument 
'ublas::matrix const &globalCoordinates' discards const in 
director method Node::traverse.
frontends/CsoundVST/Node.hpp:50: Warning(515): Target language argument 
'ublas::matrix const &coordinates' discards const in director 
method Node::produceOrTransform.
scons: *** [frontends/CsoundVST/CsoundVST_wrap.cc] Error 2
scons: building terminated because of errors.



jpff@codemist.co.uk wrote:

>There are two cases of 
>      else
>whicg shoudl be
>      else:
>
>I have fixed here and will update/commit in a minute or two
>  
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-09 15:29
FromDave Phillips
SubjectRe: [Cs-dev] Minor error in SConstruct
gogins@pipeline.com wrote:

>The CsoundVST_wrap.cpp file is not well tracked for dependency by SWIG.
>Sometimes I have to manually delete it before rebuilding. Try that before
>reverting SWIG. Also what version of gcc are you using? I am on 3.4.2 I
>think. 
>  
>
No joy after deleting and rebuilding, the error persists. I'll try with 
the newer SWIG.

I'm compiling with GCC 3.2.2.

Best,

dp

>Original Message:
>-----------------
>From: Dave Phillips dlphilp@bright.net
>Date: Wed, 09 Feb 2005 09:22:22 -0500
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] Minor error in SConstruct
>
>
>Hi John:
>
>  Thanks for the note. I should have actually looked into the code...
>
>  However, the build for CsoundVST now fails as seen below. SWIG is 
>1.3.21, I reverted from 1.3.24. Perhaps I should go back to 1.3.24 ?
>
>  Any suggestions ?
>
>Best,
>
>dp
>
>
>swig -c++ -includeall -verbose -outdir . -I. -I./H 
>-I/usr/local/include/python2.3 -I/usr/local/include -I/usr/include 
>-I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 
>-I/usr/X11R6/include -Ifrontends/CsoundVST -I/usr/include/python2.3 
>-DCSOUND_WITH_API -DLINUX -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H 
>-DHAVE_STDINT_H -DHAVE_MALLOC_H -DHAVE_SGTTY_H -DHAVE_SYS_IOCTL_H 
>-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_CTYPE_H -DHAVE_TERMIOS_H 
>-DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_JNI_H -DWINDOWS -DUSE_FLTK 
>-python -o frontends/CsoundVST/CsoundVST_wrap.cc 
>frontends/CsoundVST/CsoundVST.i
>LibDir: python
>   ./
>   ./
>   ./H/
>   /usr/local/include/python2.3/
>   /usr/local/include/
>   /usr/include/
>   /usr/X11R6/include/
>   /usr/X11R6/include/
>   /usr/include/freetype2/
>   /usr/X11R6/include/
>   frontends/CsoundVST/
>   /usr/include/python2.3/
>   /usr/local/lib/swig1.3/python/
>   ./swig_lib/python/
>   /usr/local/lib/swig1.3/config/
>   ./swig_lib/config/
>   /usr/local/lib/swig1.3/
>   ./swig_lib/
>Preprocessing...
>Starting language-specific parse...
>frontends/CsoundVST/Event.hpp:38: Template 'pair' undefined.
>frontends/CsoundVST/Event.hpp:164: Warning(362): operator= ignored
>frontends/CsoundVST/Event.hpp:165: Warning(362): operator= ignored
>frontends/CsoundVST/Midifile.hpp:36: Template 'pair' undefined.
>Processing types...
>
>frontends/CsoundVST/Event.hpp:75: Warning(401): Nothing known about 
>class 'ublas::vector'. Ignored.
>frontends/CsoundVST/Event.hpp:75: Warning(401): Maybe you forgot to 
>instantiate 'ublas::vector' using %template.
>frontends/CsoundVST/Midifile.hpp:112: Warning(401): Nothing known about 
>class 'std::vector'. Ignored.
>frontends/CsoundVST/Midifile.hpp:112: Warning(401): Maybe you forgot to 
>instantiate 'std::vector' using %template.
>C++ analysis...
>Generating wrappers...
>frontends/CsoundVST/Event.hpp:97: Warning(462): Unable to set variable 
>of type int [].
>frontends/CsoundVST/Event.hpp:98: Warning(462): Unable to set variable 
>of type char const *[].
>frontends/CsoundVST/Midifile.hpp:108: Warning(510): friend function 
>'operator <' ignored.
>frontends/CsoundVST/Node.hpp:50: Warning(515): Target language argument 
>'ublas::matrix const &globalCoordinates' discards const in 
>director method Node::traverse.
>frontends/CsoundVST/Node.hpp:50: Warning(515): Target language argument 
>'ublas::matrix const &coordinates' discards const in director 
>method Node::produceOrTransform.
>scons: *** [frontends/CsoundVST/CsoundVST_wrap.cc] Error 2
>scons: building terminated because of errors.
>  
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-09 15:42
FromDave Phillips
SubjectRe: [Cs-dev] Minor error in SConstruct
Hi Michael:

  Okay, I finally got everything built. SWIG 1.3.24 is now required for 
the Linux build, at least on RH9. Unfortunately I mistakenly deleted 
_CsoundVST.so, but I'll rebuild, reinstall, and report back asap.

Best,

dp



Dave Phillips wrote:

> gogins@pipeline.com wrote:
>
>> The CsoundVST_wrap.cpp file is not well tracked for dependency by SWIG.
>> Sometimes I have to manually delete it before rebuilding. Try that 
>> before
>> reverting SWIG. Also what version of gcc are you using? I am on 3.4.2 I
>> think.  
>>
> No joy after deleting and rebuilding, the error persists. I'll try 
> with the newer SWIG.
>
> I'm compiling with GCC 3.2.2.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-09 15:55
FromDave Phillips
SubjectRe: [Cs-dev] Minor error in SConstruct
Greetings:

  Ach, my head's exploding: The rebuild failed with the same errors as 
before. Now I'm not at all certain about using the new SWIG. I'll 
rebuild with 1.3.21 again and see what happens.

  Sorry for the confusion.

Best,

dp



Dave Phillips wrote:

> Hi Michael:
>
>  Okay, I finally got everything built. SWIG 1.3.24 is now required for 
> the Linux build, at least on RH9. Unfortunately I mistakenly deleted 
> _CsoundVST.so, but I'll rebuild, reinstall, and report back asap.
>
> Best,
>
> dp
>
>
>
> Dave Phillips wrote:
>
>> gogins@pipeline.com wrote:
>>
>>> The CsoundVST_wrap.cpp file is not well tracked for dependency by SWIG.
>>> Sometimes I have to manually delete it before rebuilding. Try that 
>>> before
>>> reverting SWIG. Also what version of gcc are you using? I am on 3.4.2 I
>>> think. 
>>
>> No joy after deleting and rebuilding, the error persists. I'll try 
>> with the newer SWIG.
>>
>> I'm compiling with GCC 3.2.2.
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net