[vtkusers] installing VTK with VTK_WRAP_PYTHON

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Jun 11 09:39:33 EDT 2007


When you configure cmake with a user interface, you will see many 
switches and options. In my case setting VTK_USE_TK to off still did not 
disable it. I had to manually remove all (wrongly guessed) instances of 
TK/TCL LIBRARY/INCLUDE switches etc (set them to null strings).
- Dominik

Junkichi Sugita wrote:
> Hi Dominik
> Thank you for responding.
> But I actually don't understand when you say "Try disabling TCL/TK in 
> cmake completely". 
> Could you be a little more specific.
> Thanks again,
> J.Sugita
> 
> 
> 
>> Try disabling TCL/TK in cmake completely. I had the same problem under 
>> linux and it helped.
>> - Dominik
>>
>> Junkichi Sugita wrote:
>>> Hi all,
>>>
>>> Thank to this mailing list, last time I could successfully install VTK
>>> in Windows XP(media center edition SP2) environment using Visual C++ 
>>> 2005, and I can build a VTK application.
>>> Now, I want VTK wrapped for python, and  I reran CMake. 
>>> Then the following error appears which I could not figure out:
>>>
>>> CMake Error: Error in cmake code at 
>>> C:/{Source Dir}/Wrapping/Tcl/vtkDetermineTkResources.cmake:4:
>>> Unknown CMake command "VTK_GET_TCL_TK_VERSION".
>>>
>>> The cashe values set are:
>>> BUILD_EXAMPLES: ON
>>> BUILD_SHARED_LIBS: ON
>>> VTK_USE_MPEG2_ENCODER: OFF
>>> VTK_USE_PARALLEL: OFF
>>> VTK_USE_RENDERING: ON
>>> VTK_WRAP_JAVA: OFF
>>> VTK_WRAP_PYTHON:ON
>>> VTK_WRAP_TCL: OFF
>>>
>>> Does anybody can help me solve this problem?
>>> Thank you in advance.
>>>
>>> J. Sugita
>>> _______________________________________________
>>> 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
>> -- 
>> Dominik Szczerba, PhD
>> Computer Vision Lab CH-8092 Zurich
>> http://www.vision.ee.ethz.ch/~domi

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list