[vtkusers] VTK Macos Leopard Xcode3

Gokhan Mustafa Uzunbas uzunbas at su.sabanciuniv.edu
Wed Jan 9 16:19:38 EST 2008


Hi,
I want to to compile VTK.503 under Mac OS leopard with Cmake. I have  
Xcode installed on my machine adn I got error message:

Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm: In  
member function 'virtual const char*  
vtkCocoaRenderWindow::ReportCapabilities()':
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:224: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:227: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:230: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:233: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:236: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:239: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:242: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:245: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm: In  
member function 'virtual int vtkCocoaRenderWindow::SupportsOpenGL()':
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:269: error:  
invalid conversion from 'long int*' to 'GLint*'
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm: In  
member function 'virtual int vtkCocoaRenderWindow::IsDirect()':
/Users/gokhanuzunbas/Develop/VTK/Rendering/vtkCocoaRenderWindow.mm:288: error:  
invalid conversion from 'long int*' to 'GLint*'
make[2]: ***  
[Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindow.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2

Do you have any idea? I tried many things writen in this forum before.
Thanks a lot..




More information about the vtkusers mailing list