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

Eric E. Monson emonson at cs.duke.edu
Wed Nov 12 11:38:32 EST 2008


Hey Norbert,

In case you haven't found them yet, take a look at some of the  
examples in VTK/Examples/GUI/Tcl -- four of them use vtkTkRenderWidget  
and they all work for me under OS X 10.5.5 when VTK is built with Tcl  
wrapping.

-Eric

------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group


On Nov 9, 2008, at 10:48 AM, Norbert Kucerka wrote:

> 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
> 5.2
> % package require vtkinteraction
> 5.2
> % vtkTkRenderWidget renWidget
> invalid command name "vtkTkRenderWidget"
>
> Can anybody advice a solution?
>
> Norbert
> _______________________________________________
> 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




More information about the vtkusers mailing list