| Update your swig to the latest version. It is a known bug
with SWIG and 64 bit systems.
Victor
----- Original Message -----
From: "Dave Phillips"
To: "Developer discussions"
Sent: Monday, March 24, 2008 8:02 PM
Subject: [Cs-dev] a new problem with 64-bit build
> Greetings,
>
> More trouble:
>
>
> g++ -o interfaces/python_interface_wrap.os -c -fexceptions -DNOGETTEXT
> -g -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DSDFT
> -DUSE_DOUBLE -DHAVE_SOCKETS -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_CSOUND_RELEASE_
> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64\" -I. -IH
> -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include
> -I/usr/include -I/usr/X11R6/include -Iinterfaces
> -I/usr/include/python2.5 -I/usr/local/include/python2.5
> interfaces/python_interface_wrap.cc
> interfaces/python_interface_wrap.cc: In function 'int
> SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> interfaces/python_interface_wrap.cc:2052: error: invalid conversion from
> 'const char*' to 'char*'
> interfaces/python_interface_wrap.cc: In function 'int
> SWIG_AsCharPtrAndSize(PyObject*, char**, size_t*, int*)':
> interfaces/python_interface_wrap.cc:3238: error: cannot convert 'int*'
> to 'Py_ssize_t*' for argument '3' to 'int
> PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
> interfaces/python_interface_wrap.cc: In function 'void
> SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**,
> swig_type_info**)':
> interfaces/python_interface_wrap.cc:37126: error: invalid conversion
> from 'const char*' to 'char*'
> scons: *** [interfaces/python_interface_wrap.os] Error 1
> scons: building terminated because of errors.
>
>
> Any suggestions ?
>
> SWIG is version 1.3.29.
>
> Best,
>
> dp
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |