[vtkusers] QVTKRenderWindowInteractor crashes under Mac OS X 10.6 + CMake x86_64 issue
Piotr Byzia
piotr.byzia at gmail.com
Wed Sep 30 12:14:14 EDT 2009
On 30.09.2009, at 16:59, Sean McBride wrote:
> On 9/30/09 1:07 PM, Piotr Byzia said:
>
>> But here is another issue with 10.6 (Cmake 2.6-4):
>>
>> Linking CXX shared library ../bin/libvtkCommonPythonD.dylib
>> ld: warning: in /Library/Frameworks//Python.framework/Python, missing
>> required architecture x86_64 in file
>>
>> What should I specify to correct this?
>> I have
>> CMAKE_OSX_ARCHITECTURES i386
>> CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.6.sdk
>
> You might be seeing:
> <http://public.kitware.com/Bug/view.php?id=9466>
>
> Try CMake from CVS.
Sean, thanks for your answer.
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?
Thanks,
Piotr
More information about the vtkusers
mailing list