| The .i files for Csound 5 should go where the headers they include are, e.g. interfaces and frontends/CsoundVST.
Regards,
Mike
-----Original Message-----
From: James Hearon
Sent: Nov 8, 2005 2:26 PM
To: csound@lists.bath.ac.uk
Subject: [Csnd] csoundVST build
CsoundVST_wrap.cc problems. Winbuild. It can't seem to find the .i files.
I'm not sure what is out of place.
$ gcc --version
gcc.exe (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
have swigwin-1.3.27 built in:
c:\utah\opt
make install puts: .i files in:
C:\utah\usr\msys\1.0\local\share\swig\1.3.27
and swig.exe in
C:\utah\usr\msys\1.0\local\bin
in custom.py have:
# Attempt to locate SWIG stuff
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/std')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/python')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/java')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/tcl')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/lua')
customCPPPATH.append('C:/utah/usr/msys/1.0/local/share/swig/1.3.27/clisp')
Scons bails on CsoundVST_wrap.cc
CONFIGURATION DECISION: Using single-precision floating point for audio
samples.
Checking for C header file stdio.h... yes
Checking for C header file sndfile.h... yes
Checking for C header file portaudio.h... yes
Checking for C header file portmidi.h... no
Checking for C++ header file FL/Fl.H... yes
Checking for C++ header file boost/any.hpp... yes
Checking for C header file alsa/asoundlib.h... no
Checking for C header file jack/jack.h... no
Checking for C header file lo/lo.h... no
Checking for C++ header file Opcodes/stk/include/Stk.h... no
Checking for C header file m_pd.h... yes
Checking for C header file tcl.h... yes
Checking for C header file lua.h... yes
Checking for SWIG... yes
Checking for C header file Python.h... yes
Checking for C++ header file jni.h... yes
Checking for C header file io.h... yes
Checking for C header file fcntl.h... yes
Checking for C header file unistd.h... yes
Checking for C header file stdint.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file termios.h... no
Checking for C header file dirent.h... yes
Checking for C header file Opcodes/Loris/src/loris.h... no
CONFIGURATION DECISION: Not building Loris Python extension and Csound
opcodes.
CONFIGURATION DECISION: Building dynamic Csound library
CONFIGURATION DECISION: Not building with PortMIDI.
CONFIGURATION DECISION: Building Csound interfaces library.
CONFIGURATION DECISION: Not building Java wrappers for Csound interfaces
library.
CONFIGURATION DECISION: Building Csound Lua interface library.
CONFIGURATION DECISION: Not generating PDF documentation.
CONFIGURATION DECISION: Building with FLTK graphs and widgets.
CONFIGURATION DECISION: Not building CoreAudio plugin.
CONFIGURATION DECISION: Not building ALSA plugin.
CONFIGURATION DECISION: Building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Not building OSC plugin.
Checking for C header file fluidsynth.h... yes
CONFIGURATION DECISION: Building fluid opcodes.
CONFIGURATION DECISION: Building CsoundVST plugin and standalone.
PATH =
.;C:\utah\usr\msys\1.0\local\bin;c:\utah\usr\mingw\bin;C:\utah\usr\msys\1.0\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program
Files\Common Files\Adaptec Shared\System;c:\utah\usr\csound5;c:\Program
Files\Java\jdk1.5.0_02\bin;c:\matlab6p5\bin\win32;c:\utah\usr\mingw\bin;.;c:\Program
Files\cvsnt;c:\Sun\AppServer\bin;.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
CONFIGURATION DECISION: Building PD csoundapi~ class
CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
CONFIGURATION DECISION: Not calling TAGS
CONFIGURATION DECISION: Calling makedb
CONFIGURATION DECISION: Not compiling zip file for release.
scons: done reading SConscript files.
scons: Building targets ...
swig -Derrmsg=err_msg -c++ -includeall -verbose -outdir . -D_WIN32 -DWIN32
-DPIPES -DOS_IS_WIN32 -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_DIRENT_H
-DNDEBUG -I. -I./H -Ic:/utah/usr/msys/1.0/local/include
-Ic:/utah/usr/portaudio/pa_common -Ic:/utah/opt/fltk-1.1.6
-Ic:/utah/opt/Python23/include -Ic:/utah/usr/MinGW/include
-IC:/utah/opt/boost_1_32_0 -IC:/utah/usr/msys/1.0/local/share/swig/1.3.27
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/std
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/python
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/java
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/tcl
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/lua
-IC:/utah/usr/msys/1.0/local/share/swig/1.3.27/clisp
-Ic:/utah/opt/fluidsynth-1.0.3-win32/include -Ic:/utah/opt/liblo-0.22/lo
-Ic:/utah/opt/lua-5.0.2/include "-IC:/Program
Files/Java/jdk1.5.0_02/include" "-IC:/Program
Files/Java/jdk1.5.0_02/include/win32" -Ic:/utah/opt/pd-0.38-4-devel-2/src
-I/usr/local/include -I/usr/include -Ifrontends/CsoundVST -Iinterfaces
-python -o frontends\CsoundVST\CsoundVST_wrap.cc
frontends\CsoundVST\CsoundVST.i
LibDir: python
.\
.\
./H\
c:/utah/usr/msys/1.0/local/include\
c:/utah/usr/portaudio/pa_common\
c:/utah/opt/fltk-1.1.6\
c:/utah/opt/Python23/include\
c:/utah/usr/MinGW/include\
C:/utah/opt/boost_1_32_0\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/std\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/python\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/java\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/tcl\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/lua\
C:/utah/usr/msys/1.0/local/share/swig/1.3.27/clisp\
c:/utah/opt/fluidsynth-1.0.3-win32/include\
c:/utah/opt/liblo-0.22/lo\
c:/utah/opt/lua-5.0.2/include\
C:/Program Files/Java/jdk1.5.0_02/include\
C:/Program Files/Java/jdk1.5.0_02/include/win32\
c:/utah/opt/pd-0.38-4-devel-2/src\
/usr/local/include\
/usr/include\
frontends/CsoundVST\
interfaces\
C:\utah\usr\msys\1.0\local\bin\Lib\python\
.\swig_lib\python\
C:\utah\usr\msys\1.0\local\bin\Lib\config\
.\swig_lib\config\
C:\utah\usr\msys\1.0\local\bin\Lib\
.\swig_lib\
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
frontends\CsoundVST\Event.hpp(164): Warning(362): operator= ignored
frontends\CsoundVST\Event.hpp(165): Warning(362): operator= ignored
frontends\CsoundVST\Event.hpp(75): Warning(401): Nothing known about base
class 'ublas::vector'. Ignored.
frontends\CsoundVST\Event.hpp(75): Warning(401): Maybe you forgot to
instantiate 'ublas::vector' using %template.
frontends\CsoundVST\Midifile.hpp(122): Warning(401): Nothing known about
base class 'std::map'. Ignored.
frontends\CsoundVST\Midifile.hpp(122): Warning(401): Maybe you forgot to
instantiate 'std::map' using %template.
frontends\CsoundVST\Event.hpp(97): Warning(462): Unable to set dimensionless
array variable
frontends\CsoundVST\Event.hpp(98): Warning(462): Unable to set dimensionless
array variable
frontends\CsoundVST\Midifile.hpp(108): Warning(503): Can't wrap 'operator <'
unless renamed to a valid identifier.
g++ -fexceptions -Wall -g -gstabs -O2 -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32
-mthreads -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H
-DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_DIRENT_H -DNDEBUG -DBETA -I. -IH
-IC:\utah\usr\msys\1.0\local\include -IC:\utah\usr\portaudio\pa_common
-IC:\utah\opt\fltk-1.1.6 -IC:\utah\opt\Python23\include
-IC:\utah\usr\MinGW\include -IC:\utah\opt\boost_1_32_0
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\std
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\python
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\java
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\tcl
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\lua
-IC:\utah\usr\msys\1.0\local\share\swig\1.3.27\clisp
-IC:\utah\opt\fluidsynth-1.0.3-win32\include -IC:\utah\opt\liblo-0.22\lo
-IC:\utah\opt\lua-5.0.2\include "-IC:\Program
Files\Java\jdk1.5.0_02\include" "-IC:\Program
Files\Java\jdk1.5.0_02\include\win32" -IC:\utah\opt\pd-0.38-4-devel-2\src
-I\usr\local\include -I\usr\include -Ifrontends\CsoundVST -Iinterfaces -c -o
frontends\CsoundVST\CsoundVST_wrap.o frontends\CsoundVST\CsoundVST_wrap.cc
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: explicit specialization
of non-template `swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2095: error: `pointer_category' does
not name a type
frontends\CsoundVST\CsoundVST_wrap.cc:2102: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2102: error: redefinition of `struct
swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: previous definition of
`struct swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2121: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2121: error: redefinition of `struct
swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: previous definition of
`struct swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2129: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2129: error: redefinition of `struct
swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: previous definition of
`struct swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2139: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2139: error: redefinition of `struct
swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: previous definition of
`struct swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2147: error: `traits' is not a
template
frontends\CsoundVST\CsoundVST_wrap.cc:2147: error: redefinition of `struct
swig::traits'
frontends\CsoundVST\CsoundVST_wrap.cc:2094: error: previous definition of
`struct swig::traits'
....etc, etc.
frontends\CsoundVST\CsoundVST_wrap.cc: In function `PyObject*
_wrap_new_IntVector(PyObject*, PyObject*)':
frontends\CsoundVST\CsoundVST_wrap.cc:30673: error: `asptr' is not a member
of `swig'
scons: building terminated because of errors.
scons: *** [frontends\CsoundVST\CsoundVST_wrap.o] Error 1
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
|