Csound Csound-dev Csound-tekno Search About

[Cs-dev] repeating...

Date2007-01-04 13:08
Fromjpff
Subject[Cs-dev] repeating...
..can some one fix the python/swig stuff so Csound can compile again?

The first error is

g++ -fexceptions -Wall -g -gstabs -O2 -fPIC -DLINUX -DPIPES -fno-strict-aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D__BUILDING_CSOUND_INTERFACES -I. -IH -I/usr/local/include -I/usr/include -I/usr/X11R6/include -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -Iinterfaces -I/usr/include/python2.4 -I/usr/local/include/python2.4 -c -o interfaces/python_interface_wrap.os interfaces/python_interface_wrap.cc
interfaces/python_interface_wrap.cc: In function `const char* swig::type_name() 
   [with Type = int]':
interfaces/python_interface_wrap.cc:2404:   instantiated from `static swig_type_info* swig::traits_info::type_info() [with Type = int]'
interfaces/python_interface_wrap.cc:2411:   instantiated from `swig_type_info* swig::type_info() [with Type = int]'
interfaces/python_interface_wrap.cc:2445:   instantiated from `static PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = int]'
interfaces/python_interface_wrap.cc:2451:   instantiated from `static PyObject* swig::traits_from::from(const Type&) [with Type = int]'
interfaces/python_interface_wrap.cc:2463:   instantiated from `PyObject* swig::from(const Type&) [with Type = int]'
interfaces/python_interface_wrap.cc:3193:   instantiated from here
interfaces/python_interface_wrap.cc:2394: error: 'struct swig::traits' has 
   no member named 'type_name'

This used to compile but ceased late last year.

I have no idea what it means; python in not one of my languages.  It
does not seem possible to build without python these days.  When I try
it gives other errors

Switching off buildPythonOpcodes=0 buildInterfaces=0 buildCsoundVST=0
I still get

frontends/fltk_gui/CsoundPerformanceSettingsPanel_FLTK.cpp: In member function 
   `void CsoundPerformanceSettingsPanel::cb_Buffer_i(Fl_Choice*, void*)':
frontends/fltk_gui/CsoundPerformanceSettingsPanel_FLTK.cpp:342: error: `
   numBuffersInput' undeclared (first use this function)
frontends/fltk_gui/CsoundPerformanceSettingsPanel_FLTK.cpp:342: error: (Each 
   undeclared identifier is reported only once for each function it appears 
   in.)
scons: *** [frontends/fltk_gui/CsoundPerformanceSettingsPanel_FLTK.o] Error 1
scons: building terminated because of errors.

The complexity is removing the simple approach.
==John ffitch

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net