Csound Csound-dev Csound-tekno Search About

[Cs-dev] build error on python interfaces

Date2011-04-13 10:41
FromOeyvind Brandtsegg
Subject[Cs-dev] build error on python interfaces
On a fresh checkout from git today,
I can compile a basic cound,
and I compile with buildInterfaces = 1,
but can not compile with buildPythonWrapper=1

any insight greatly appreciated
best
Oeyvind

g++ -o interfaces\python_interface_wrap.o -c -fexceptions
-shared-libgcc -Wno-format -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32
-DFL_DLL -Wall -fexceptions -shared-libgcc -O3 -mtune=pentium4
-ffast-math -Wno-format -g -fomit-frame-pointer -freorder-blocks
-D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32 -DHAVE_LIBSNDFILE=1016 -DBETA
-DUSE_DOUBLE -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_IO_H -DHAVE_FCNTL_H
-DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H
-DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND
-D__BUILDING_CSOUND_INTERFACES -I. -IH -IC:\msys\1.0\local\include
-IC:\msys\1.0\include -IC:\msys\1.0\source\portaudio\include
-IC:\msys\1.0\source\portmidi_victor
-IC:\msys\1.0\source\fltk-1.1.10rc3
-IC:\msys\1.0\source\mpadec\mpadec\mpadec -IC:\Python26\include
-IC:\msys\1.0\source\csound5\frontends\CsoundVST
-IC:\msys\1.0\source\csound5\frontends\CsoundVST\vstsdk2.4
-IC:\msys\1.0\source\csound5\frontends\CsoundVST\vstsdk2.4\public.sdk\source
-IC:\utah\home\mkg\projects\portaudio\pa_common
-IC:\zip\boost\boost_1_45_0 -IC:\utah\opt\fltk-1.1.6 "-IC:\Program
Files\java\jdk1.6.0_06\include" "-IC:\Program
Files\java\jdk1.6.0_06\include\win32" -IC:\usr\local\include
-IC:\usr\include -Iinterfaces interfaces\python_interface_wrap.cc
In file included from C:/Python26/include/Python.h:8,
                 from interfaces\python_interface_wrap.cc:130:
C:/Python26/include/pyconfig.h:58:1: warning: "HAVE_IO_H" redefined
:14:1: warning: this is the location of the previous definition
interfaces\python_interface_wrap.cc: In function `void
PythonMessageCallback(CSOUND*, int, const char*, char*)':
interfaces\python_interface_wrap.cc:3684: warning: unused variable 'ch'
interfaces\python_interface_wrap.cc: In function `PyObject*
_wrap_csoundSeedRandMT(PyObject*, PyObject*)':
interfaces\python_interface_wrap.cc:12461: error: invalid conversion
from `const unsigned int*' to `const uint32_t*'
interfaces\python_interface_wrap.cc:12461: error:   initializing
argument 2 of `void csoundSeedRandMT(CsoundRandMTState*, const
uint32_t*, uint32_t)'
scons: *** [interfaces\python_interface_wrap.o] Error 1
scons: building terminated because of errors.

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net