| Greetings:
For the past two days I've built and rebuilt Cs5, trying to make the
CsoundVST frontend. Alas, I'm completely stopped at this point. I've
used two different versions of SWIG (1.3.21 and 1.3.24), and I've
followed Michael's instructions regarding the failing CsoundVST_wrap.cc
file. No joy. The SWIG versions produce different sets of errors, and it
made no difference removing the offending file.
Using buildCsoundVST=0 creates a perfectly working Csound5 binary,
there are no problems with the general build. The compiler here is Red
Hat 9's GCC 3.2.2, which has given no trouble with previous Cs5 builds.
If Michael's able to compile CsoundVST with GCC 3.4.x then the trouble
may indeed be compiler-related. :(
I'll try a completely fresh build on FC3 later this evening.
CsoundVST is sweet, I hope a solution can be found for my current dilemma.
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.
[dlphilp@localhost csound5]$ swig -version
SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further information
-------------------------------------------------------
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 |