What are the values of TCL_LIBRARY and TK_LIBRARY in your CMakeCache.txt file? It sounds like they may not be set correctly. If not, set them correctly and re-configure with CMake and try rebuilding.<br><br>If they are already apparently set correctly, then we'll need to dig deeper to figure this out...
<br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername">Lars Nygard</b> <<a href="mailto:lnygard@yahoo.com">lnygard@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>Im trying to compile vtk5.0.3 with wrap_TCL on. Im using<br>CMake 2.4 and have tried ActiveTcl8.4 and 8.3. However<br>Im getting the same mistake in both cases. The error is<br>mentioned here (<a href="http://www.kwwidgets.org/Wiki/KWWidgets/Projects/UIDesigner/HOWTOCompileVTK5MinGW">
http://www.kwwidgets.org/Wiki/KWWidgets/Projects/UIDesigner/HOWTOCompileVTK5MinGW</a>)<br> but I don't understand how they fixed it. Here's the error,<br>any help would be really nice:<br><br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(
vtkTkImageViewerWidget.obj):vtkTkImageVi<br>ewerWidget.cxx:(.text+0xa4d): undefined reference to `_imp__TkWinChildProc@16'<br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi<br>ewerWidget.cxx:
(.text+0xb9d): undefined reference to `_imp__TkWinChildProc@16'<br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi<br>ewerWidget.cxx:(.text+0xbd7): undefined reference to `_imp__TkWinChildProc@16'
<br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj):vtkTkImageVi<br>ewerWidget.cxx:(.text+0xd0e): undefined reference to `_imp__TkWinChildProc@16'<br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkImageViewerWidget.obj
):vtkTkImageVi<br>ewerWidget.cxx:(.text+0xd48): undefined reference to `_imp__TkWinChildProc@16'<br>c:\Insight\VTK\bin\libvtkRenderingTCL.a(vtkTkRenderWidget.obj):vtkTkRenderWidget<br>.cxx:(.text+0x1845): more undefined references to `_imp__TkWinChildProc@16' foll
<br>ow<br>collect2: ld returned 1 exit status<br>mingw32-make[2]: *** [bin/vtk.exe] Error 1<br>mingw32-make[1]: *** [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2<br>mingw32-make: *** [all] Error 2<br><br><br><br>_________________________________________________________
<br>Alt i én. Få Yahoo! Mail med adressekartotek, kalender og<br>notisblokk. <a href="http://no.mail.yahoo.com">http://no.mail.yahoo.com</a><br>_______________________________________________<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>