<P>
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 :<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 thr 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 &quot;VTK_GET_TCL_TK_VERSION&quot;.<BR>
<BR>
I am unable to understand why am I getting such errors when I have specifically set the tcl/tk options OFF in cmake.<BR>
<BR>
I am attaching my CMakeCache.txt file for reference <BR>
<BR>
<BR>

</P>
<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font-family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/2027411_2020222/2027231/1?PARTNER=3&OAS_QUERY=null' target=new ><img src ='http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/2027411_2020222/creative_2027231.gif'  alt='Tata Aig'  border=0></a></td></TR></Table>