[vtkusers] Unable to compile VTK from sources on linux cluster

Henrik Westerberg henrik.westerberg at crg.es
Thu Jan 10 09:26:53 EST 2008


The easiest thing to do is to get the CVS version of VTK and this shouldn't
happen. At least for me "the don't use TCL/TK option" was working when I compiled 
VTK a couple of days ago with Python and on linux.

or just download a version of TCL/TK and supply the paths its asking for.

regards,

Henrik

-----Original Message-----
From: vtkusers-bounces+henrik.westerberg=crg.es at vtk.org on behalf of Raashid Baig
Sent: Thu 1/10/2008 1:42 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Unable to compile VTK from sources on linux cluster
 
I am trying to compile VTK5.0.3 from sources (out-of source) on a linux
cluster. I want to generate VTK bindings for python, and I have specifically set the VTK_WRAP_TCL = OFF. cmake still gives an error message of :

 CMake Error: This project requires some variables to be set,
  and cmake can not find them.
  Please set the following variables:
  TK_INCLUDE_PATH (ADVANCED)

If I quit the cmake and again run the ccmake in the same directory I see an option of VTK_USE_TK = ON and again the same error message. If I turn the VTK_USE_TK = OFF and again run cmake I get a new error message :

  CMake Error: Error in cmake code at
  /home/raashid/src/VTK/Utilities/TclTk/internals/CMakeLists.txt:2:
  Unknown CMake command "VTK_GET_TCL_TK_VERSION".

I am unable to understand why am I getting such errors when I have
specifically set the tcl/tk options OFF in cmake.  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080110/e257d0ed/attachment.htm>


More information about the vtkusers mailing list