[vtkusers] VTK 5.6 on OS X 10.6 with Python and X11

Frava fravadona at gmail.com
Thu Jul 8 19:23:06 EDT 2010


Hi all,

I need to make a Python code that uses VTK "X11" work on OS X 10.6 but I
only get a segmentation fault when I try to launch it (there is no problem
with this code on Linux).

Configuration : OS X 10.6.4 with XCode 3.2.3

cmake ../VTK \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/Applications/MyApp.app/Contents/MacOS \
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="10.6" \
-DCMAKE_OSX_ARCHITECTURES:STRING="x86_64" \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_WRAP_TCL:BOOL=ON \
-DVTK_USE_CARBON:BOOL=OFF \
-DVTK_USE_COCOA:BOOL=OFF \
-DVTK_USE_X:BOOL=ON \
-DVTK_USE_GUISUPPORT:BOOL=ON \
-DVTK_USE_HYBRID:BOOL=OFF \
-DVTK_USE_RPATH:BOOL=OFF \

I'm not sure if I need to turn on the TCL wrapper but the code uses TTK
(Tile) classes so it needs a python 2.5 (or 2.6) linked with TCL/TK 8.5.

Does anyone have a working configuration (or some advise) to help to fix
this ?

Regards,
Rafael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100709/1380eebc/attachment.htm>


More information about the vtkusers mailing list