[vtkusers] VTK + TCK/TK + KWWidgets (STATIC!)

Petrov, P. P.Petrov at umcutrecht.nl
Tue Jan 13 12:50:23 EST 2009


Hi All,
After strugeling for hours to make this combination work : VTK + TCK/TK + KWWidgets
Iám about to give up and use alternative GUI for my project.
So, I read everyhting I found on the topics of the issues:
 
1) I got the vs2005 static lib  from the internal server :http://www.vtk.org/files/tcltk/
 
2) I did the env-vars following the directions i found :
For VTK and KWWidgets, this is definitely easy: when configuring VTK 
using CMake, set the BUILD_SHARED_LIBS variable to OFF, and this will 
prevent VTK from being built in a "shared libs" fashion. Also make 
sure your TCL_LIBRARY and TK_LIBRARY vars point to your static Tcl/Tk 
libs, and that VTK_TCL_TK_STATIC is ON. When configuring KWWidgets, 
it should automatically inherit those settings (to prevent dangerous 
mix and match).""
 
3) then i edited the Cmakecash.txt file so that i fill in the TK_INTERNAL_APTH
ehre tkWinInt.h is?
C:\UMC\vtk-5.2.1\Utilities\TclTk\internals\tk8.5
 
and now i have the error:
Wrapping/Tcl/CMakeList.txt:37 (INCLUDE_DIRECTORIES) .... given empty string
 
 
arggh, anyone?
 
I am close to loosing it. I thought building VTK + TCL/TK must be the easiest, especially when users have no other choice with GUI=KWWidgets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090113/3a727d38/attachment.htm>


More information about the vtkusers mailing list