[vtkusers] Compile vtk 5.0.3 with Active Tcl8.4 and CMake 2.4

Lars Nygard lnygard at yahoo.com
Thu Aug 9 04:37:24 EDT 2007


hi,

Im trying to compile vtk5.0.3 with wrap_TCL on. Im using
CMake 2.4 and have tried ActiveTcl8.4 and 8.3. However
Im getting the same mistake in both cases. The error is 
mentioned here (http://www.kwwidgets.org/Wiki/KWWidgets/Projects/UIDesigner/HOWTOCompileVTK5MinGW)
 but I don't understand how they fixed it. Here's the error,
any help would be really nice:

c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi
ewerWidget.cxx:(.text+0xa4d): undefined reference to `_imp__TkWinChildProc at 16'
c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi
ewerWidget.cxx:(.text+0xb9d): undefined reference to `_imp__TkWinChildProc at 16'
c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi
ewerWidget.cxx:(.text+0xbd7): undefined reference to `_imp__TkWinChildProc at 16'
c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi
ewerWidget.cxx:(.text+0xd0e): undefined reference to `_imp__TkWinChildProc at 16'
c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi
ewerWidget.cxx:(.text+0xd48): undefined reference to `_imp__TkWinChildProc at 16'
c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkRenderWidget.obj):vtkTkRenderWidget
.cxx:(.text+0x1845): more undefined references to `_imp__TkWinChildProc at 16' foll
ow
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/vtk.exe] Error 1
mingw32-make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2
mingw32-make: *** [all] Error 2


      
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com



More information about the vtkusers mailing list