[vtkusers] build errors: Cygwin, python, windows 7
caleb at howlor.com
caleb at howlor.com
Fri Mar 5 16:47:30 EST 2010
Hi! I've been using vtk under linix for a while, with great success. Now
I have need to run at work, on a 64 bit windows 7 machine in a cygwin
environment. I am attempting to compile with the python wrapping turned
on, and it works through the build to 31% complete, and then...
$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /c/vtk542_build
[ 0%] Built target vtkWrapPython
[ 0%] Built target vtkWrapPythonInit
[ 0%] Built target vtksys
[ 0%] Built target vtkzlib
[ 2%] Built target vtkjpeg
[ 2%] Built target vtkpng
[ 2%] Built target vtkmkg3states
[ 3%] Built target vtktiff
[ 3%] Built target vtkexpat
[ 4%] Built target vtkfreetype
[ 5%] Built target vtklibxml2
[ 5%] Built target vtkDICOMParser
[ 5%] Built target ProcessShader
[ 5%] Built target vtkMaterialLibraryConfiguredFiles
[ 10%] Built target vtkproj4
[ 10%] Built target lproj
[ 10%] Built target vtkverdict
[ 10%] Built target vtkNetCDF
[ 11%] Built target vtkmetaio
[ 11%] Built target vtksqlite
[ 16%] Built target vtkexoIIc
[ 16%] Built target vtkalglib
[ 16%] Built target vtkEncodeString
[ 22%] Built target vtkCommon
Linking CXX shared library ../bin/cygvtkCommonPythonD-5.4.2.dll
Cannot export ⌂python25_NULL_THUNK_DATA: symbol not found
CMakeFiles/vtkCommonPythonD.dir/vtkAbstractArrayPython.o:vtkAbstractArrayPyt
hon.cxx:(.text+0x161): undefined reference to `__imp___Py_NoneStruct'
CMakeFiles/vtkCommonPythonD.dir/vtkAbstractArrayPython.o:vtkAbstractArrayPyt
hon.cxx:(.text+0x168): undefined reference to `__imp___Py_NoneStruct'
CMakeFiles/vtkCommonPythonD.dir/vtkAbstractArrayPython.o:vtkAbstractArrayPyt
hon.cxx:(.text+0x2dd): undefined reference to `__imp__PyExc_TypeError'
...
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text+0x3
e8b): undefined reference to `__imp__PyType_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text+0x3
ea4): undefined reference to `__imp__PyType_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text+0x3
ebd): undefined reference to `__imp__PyType_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text$_Z2
3vtkPythonCheckLongArrayIxEiP7_objectiPT_i[int vtkPythonCheckLongArray<long
long>(_object*, int, long long*, int)]+0x4d): undefined reference to
`__imp__PyLong_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text$_Z2
3vtkPythonCheckLongArrayIxEiP7_objectiPT_i[int vtkPythonCheckLongArray<long
long>(_object*, int, long long*, int)]+0x54): undefined reference to
`__imp__PyLong_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text$_Z2
3vtkPythonCheckLongArrayIyEiP7_objectiPT_i[int
vtkPythonCheckLongArray<unsigned long long>(_object*, int, unsigned long
long*, int)]+0x4d): undefined reference to `__imp__PyLong_Type'
CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o:vtkPythonUtil.cxx:(.text$_Z2
3vtkPythonCheckLongArrayIyEiP7_objectiPT_i[int
vtkPythonCheckLongArray<unsigned long long>(_object*, int, unsigned long
long*, int)]+0x54): undefined reference to `__imp__PyLong_Type'
Creating library file: ../bin/libvtkCommonPythonD.dll.a
collect2: ld returned 1 exit status
make[2]: *** [bin/cygvtkCommonPythonD-5.4.2.dll] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2
make: *** [all] Error 2
----------------
I am unsure what else I should provide to inform any advice I might hope to
receive here.
I am more familiar with developing for UNIX, IRIX, Linux, etc. I am in
murky waters and will gratefully receive any pointers. Please assume
nothing about my familiarity with a windows environment.
Thanks!
-caleb
Caleb J. Howard
Electronic Arts Canada
--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting
More information about the vtkusers
mailing list