<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [vtkusers] Unable to compile VTK from sources on linux cluster</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>The easiest thing to do is to get the CVS version of VTK and this shouldn't<BR>
happen. At least for me "the don't use TCL/TK option" was working when I compiled<BR>
VTK a couple of days ago with Python and on linux.<BR>
<BR>
or just download a version of TCL/TK and supply the paths its asking for.<BR>
<BR>
regards,<BR>
<BR>
Henrik<BR>
<BR>
-----Original Message-----<BR>
From: vtkusers-bounces+henrik.westerberg=crg.es@vtk.org on behalf of Raashid Baig<BR>
Sent: Thu 1/10/2008 1:42 PM<BR>
To: vtkusers@vtk.org<BR>
Subject: [vtkusers] Unable to compile VTK from sources on linux cluster<BR>
<BR>
I am trying to compile VTK5.0.3 from sources (out-of source) on a linux<BR>
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 :<BR>
<BR>
CMake Error: This project requires some variables to be set,<BR>
and cmake can not find them.<BR>
Please set the following variables:<BR>
TK_INCLUDE_PATH (ADVANCED)<BR>
<BR>
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 :<BR>
<BR>
CMake Error: Error in cmake code at<BR>
/home/raashid/src/VTK/Utilities/TclTk/internals/CMakeLists.txt:2:<BR>
Unknown CMake command "VTK_GET_TCL_TK_VERSION".<BR>
<BR>
I am unable to understand why am I getting such errors when I have<BR>
specifically set the tcl/tk options OFF in cmake. <BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>