Hi all,<br><br>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).<br><br>Configuration : OS X 10.6.4 with XCode 3.2.3<br>
<br>cmake ../VTK \<br>-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \<br>-DCMAKE_INSTALL_PREFIX:PATH=/Applications/MyApp.app/Contents/MacOS \<br>-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="10.6" \<br>-DCMAKE_OSX_ARCHITECTURES:STRING="x86_64" \<br>
-DBUILD_SHARED_LIBS:BOOL=ON \<br>-DVTK_WRAP_PYTHON:BOOL=ON \<br>-DVTK_WRAP_TCL:BOOL=ON \<br>-DVTK_USE_CARBON:BOOL=OFF \<br>-DVTK_USE_COCOA:BOOL=OFF \<br>-DVTK_USE_X:BOOL=ON \<br>-DVTK_USE_GUISUPPORT:BOOL=ON \<br>-DVTK_USE_HYBRID:BOOL=OFF \<br>
-DVTK_USE_RPATH:BOOL=OFF \<br><br>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.<br><br>Does anyone have a working configuration (or some advise) to help to fix this ?<br>
<br>Regards,<br>Rafael.<br><br>