[vtkusers] QVTKRenderWindowInteractor crashes under Mac OS X 10.6 + CMake x86_64 issue

Sean McBride sean at rogue-research.com
Wed Sep 30 12:52:42 EDT 2009


On 9/30/09 6:14 PM, Piotr Byzia said:

>It seems that i386 is correctly recognized now, however there is  
>another issue related to Python during the compilation:
>
>[ 74%] Building CXX object Rendering/CMakeFiles/ 
>vtkRenderingPythonTkWidgets.dir/vtkTkRenderWidgetPython.o
>In file included from /Users/piotr/Downloads/VTK/Rendering/ 
>vtkTkRenderWidgetPython.cxx:17:
>/Users/piotr/Downloads/VTK/Rendering/vtkTkRenderWidget.cxx: In  
>function 'int vtkTkRenderWidget_MakeRenderWindow(vtkTkRenderWidget*)':
>/Users/piotr/Downloads/VTK/Rendering/vtkTkRenderWidget.cxx:1154:  
>error: invalid conversion from 'void*' to 'OpaqueGrafPtr*'
>/Users/piotr/Downloads/VTK/Rendering/vtkTkRenderWidget.cxx:1154:  
>error:   initializing argument 1 of 'OpaqueWindowPtr* GetWindowFromPort 
>(OpaqueGrafPtr*)'
>make[2]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/ 
>vtkTkRenderWidgetPython.o] Error 1
>make[1]: *** [Rendering/CMakeFiles/vtkRenderingPythonTkWidgets.dir/ 
>all] Error 2
>make: *** [all] Error 2
>
>Is that something wrong with my configuration or is that a known  
>problem?

Yes, this was discussed recently on the vtk-dev list.  You should be
able to find it in the archives.  Short version: try VTK from CVS. :)

I guess the lesson is that current CMake and VTK are not quite fully
compatible with 10.6, you should use the CVS versions.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list