[vtkusers] Build issues for OSX and cocoa

Conor Crowley conordjpc at gmail.com
Tue Jul 8 08:45:05 EDT 2008


Hello

I am currently trying to build VTK on OSX 10.5.4 and i am encountering a few
issues. There are 2 errors but both seem to be related to the
CocoaRenderWindow. I am wondering if there is something i am missing in the
configuration that would account for this? Has anyone encountered this issue
already. The errors are below

[ 69%] Building CXX object
Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindow.o
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm: In member
function 'virtual const char* vtkCocoaRenderWindow::ReportCapabilities()':
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:224:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:227:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:230:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:233:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:236:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:239:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:242:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:245:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm: In member
function 'virtual int vtkCocoaRenderWindow::SupportsOpenGL()':
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:269:
error: invalid conversion from 'long int*' to 'GLint*'
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm: In member
function 'virtual int vtkCocoaRenderWindow::IsDirect()':
/Users/conor/Project/Source/VTK/Rendering/vtkCocoaRenderWindow.mm:288:
error: invalid conversion from 'long int*' to 'GLint*'
make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindow.o]
Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
make: *** [all] Error 2


Any advice would be appreciated
Conor Crowley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080708/5e75fd42/attachment.htm>


More information about the vtkusers mailing list