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

Lars Nygard lnygard at yahoo.com
Mon Aug 13 15:13:49 EDT 2007


Hi David,

My values are: TCL_Liabrary:    tcl/bin/tcl83.dll
                                    TK_Library:        tcl/bin/tk83.dll

There are also libraries in the /tcl/lib directory that have the same
name but Lib extension. I tried to set these but this didn't work either.

I now use the vtk binary to run tcl files. Im not sure, is there any difference
in using this or using the wrapped version??
As said before the error is mention in the link below but I don't know how they 
fixed it.
thanks for your mail.
lars

----- Original Message ----
From: David Cole <david.cole at kitware.com>
To: Lars Nygard <lnygard at yahoo.com>
Cc: vtkusers at vtk.org
Sent: Monday, August 13, 2007 8:10:57 AM
Subject: Re: [vtkusers] Compile vtk 5.0.3 with Active Tcl8.4 and CMake 2.4

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.

If they are already apparently set correctly, then we'll need to dig deeper to figure this out...


HTH,
David


On 8/9/07, Lars Nygard <lnygard at yahoo.com> wrote:
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
_______________________________________________
This is the private VTK discussion list.

Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:

http://www.vtk.org/mailman/listinfo/vtkusers









      
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070813/619f940c/attachment.htm>


More information about the vtkusers mailing list