Csound Csound-dev Csound-tekno Search About

[Cs-dev] Swig again

Date2006-12-04 12:31
FromJohn ffitch
Subject[Cs-dev] Swig again
many of you will remember i have a long term hate-hate relationship
with SWIG

Today on the AMD64 I cannot compile Csound as

g++ -fexceptions -Wall -g -gstabs -O2 -fPIC -DLINUX -DPIPES -fno-strict-aliasing -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -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:2287:   instantiated from `static swig_type_info* swig::traits_info::type_info() [with Type = int]'
interfaces/python_interface_wrap.cc:2294:   instantiated from `swig_type_info* swig::type_info() [with Type = int]'
interfaces/python_interface_wrap.cc:2328:   instantiated from `static PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = int]'
interfaces/python_interface_wrap.cc:2334:   instantiated from `static PyObject* swig::traits_from::from(const Type&) [with Type = int]'
interfaces/python_interface_wrap.cc:2346:   instantiated from `PyObject* swig::from(const Type&) [with Type = int]'
interfaces/python_interface_wrap.cc:3076:   instantiated from here
interfaces/python_interface_wrap.cc:2277: error: 'struct swig::traits' has 
   no member named 'type_name'
interfaces/python_interface_wrap.cc: In function `const char* swig::type_name() 
   [with Type = std::string]':
interfaces/python_interface_wrap.cc:2287:   instantiated from `static swig_type_info* swig::traits_info::type_info() [with Type = std::string]'
interfaces/python_interface_wrap.cc:2294:   instantiated from `swig_type_info* swig::type_info() [with Type = std::string]'
interfaces/python_interface_wrap.cc:2328:   instantiated from `static PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = std::string]'
interfaces/python_interface_wrap.cc:2334:   instantiated from `static PyObject* swig::traits_from::from(const Type&) [with Type = std::string]'
interfaces/python_interface_wrap.cc:2346:   instantiated from `PyObject* swig::from(const Type&) [with Type = std::string]'
interfaces/python_interface_wrap.cc:3091:   instantiated from here
interfaces/python_interface_wrap.cc:2277: error: 'struct 
   swig::traits' has no member named 'type_name'
interfaces/python_interface_wrap.cc: In function `const char* swig::type_name() 
   [with Type = std::pair]':
interfaces/python_interface_wrap.cc:2287:   instantiated from `static swig_type_info* swig::traits_info::type_info() [with Type = std::pair]'
interfaces/python_interface_wrap.cc:2294:   instantiated from `swig_type_info* swig::type_info() [with Type = std::pair]'
interfaces/python_interface_wrap.cc:2328:   instantiated from `static PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = std::pair]'
interfaces/python_interface_wrap.cc:2334:   instantiated from `static PyObject* swig::traits_from::from(const Type&) [with Type = std::pair]'
etc etc

Any suggestions as what one is supposed to do about this?
Or how to avoid it?

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

Date2006-12-04 14:13
Fromjpff
SubjectRe: [Cs-dev] Swig again
This seems to be another problem with versions and scons not checking
swig code.
  I deleted a whole bunch of sources, and reloaded them, and then swig
  was back to its usual single error that needs to be hand-patched.
==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