[vtkusers] problem with Python wrap build on windows XP

Mary Lou Knack mlknack at gmail.com
Tue Nov 18 16:17:05 EST 2008


HALP!!!!

Can anybody help me?  I'm getting the following error when I run "mingw32-make install" under windows.  I have very recent installs of Cmake 2.6.2,  MinGW 5.1.4, ActiveTCL 8.5.5, Python 2.5.2, and I downloaded the VTK 5.2.0 source and data zip files.  I used most of the defaults in CMakeSetup except changing the Python Wrap, build shared libraries, and build examples to "ON".  My paging file (swap space?) under windows computer properties is set to the maximum 3048MB.

[...]
[ 76%] Built target vtkRenderingPythonD
[ 76%] Built target vtkRenderingPython
Linking CXX shared library ..\bin\libvtkRenderingPythonTkWidgets.dll
Creating library file: ..\bin\libvtkRenderingPythonTkWidgets.dll.a
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkRenderWidgetPython.obj:vtkTkRend
erWidgetPython.cxx:(.text+0x18a1): undefined reference to `_imp__TkWinChildProc@
16'
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkRenderWidgetPython.obj:vtkTkRend
erWidgetPython.cxx:(.text+0x18db): undefined reference to `_imp__TkWinChildProc@
16'
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkRenderWidgetPython.obj:vtkTkRend
erWidgetPython.cxx:(.text+0x1a0c): undefined reference to `_imp__TkWinChildProc@
16'
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkRenderWidgetPython.obj:vtkTkRend
erWidgetPython.cxx:(.text+0x1a46): undefined reference to `_imp__TkWinChildProc@
16'
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkImageViewerWidgetPython.obj:vtkT
kImageViewerWidgetPython.cxx:(.text+0xa6d): undefined reference to `_imp__TkWinC
hildProc at 16'
CMakeFiles\vtkRenderingPythonTkWidgets.dir\vtkTkImageViewerWidgetPython.obj:vtkT
kImageViewerWidgetPython.cxx:(.text+0xbbd): more undefined references to `_imp__
TkWinChildProc at 16' follow
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/libvtkRenderingPythonTkWidgets.dll] Error 1
mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/all]
Error 2
mingw32-make: *** [all] Error 2

I have never tried to build anything under windows before (and am many years away from using Unix) so I may be missing something obvious.  Any suggestions are appreciated.

Mary Lou Knack

PS The purpose of this build is to enable the installation of Enthought's ETS tools.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081118/137d9d07/attachment.htm>


More information about the vtkusers mailing list