[vtkusers] Why doesn't TkWidget work under Mac OS?

Norbert Kucerka kucerka at sympatico.ca
Sun Nov 9 10:48:49 EST 2008

Does anybody have an experience with vtk under Mac OS X (Leopard)? I  
have installed vtk-5.2, and made the vtk applications written in c++  
working. I am also able to load vtk package through tcl. However, when  
I try to create vtkTkRenderWidget it does not recognize the structure  
(invalid command name vtkTkRenderWidget).
Here is what I do:

$ tclsh
% set auto_path "$auto_path /usr/local/lib/vtk-5.2/"
/opt/local/lib/tcl8.4 /opt/local/lib /usr/local/lib/vtk-5.2/
% package require vtk
% package require vtkinteraction
% vtkTkRenderWidget renWidget
invalid command name "vtkTkRenderWidget"

Can anybody advice a solution?


More information about the vtkusers mailing list