[vtkusers] Compilation on Mac OSX - Intel - Cocoa - Error: invalid conversion from 'GLint*' to 'long int*'

Sean McBride sean at rogue-research.com
Wed Nov 14 13:05:04 EST 2007


On 11/10/07 3:06 PM, Sebastien Jourdain said:

>I wanted to compile VTK under Max OS X (10.4.10 - Intel Core 2 Duo) and 
>I finally get into trouble on the rendering part with Cocoa.
>First of all I wanted to compile the C++ layer to be sure of my CMake 
>setting, and thats what I'm presenting here. But my final goal is to 
>build  a VTK with the Java Wrapping.
>
>my cmake command is something like that: ccmake -i ../VTK -G Unix
>
>Here is the compilation output error after I've done: make
>
>/Users/seb/latest-src/VTK/Rendering/vtkCocoaRenderWindow.mm: In member 
>function 'virtual const char* vtkCocoaRenderWindow::ReportCapabilities()':
>/Users/seb/latest-src/VTK/Rendering/vtkCocoaRenderWindow.mm:206: error: 
>invalid conversion from 'GLint*' to 'long int*'

You neglected to mention the most important information: which version
of VTK?  Which version of CMake?

In both cases, I recommend the CVS versions, there have been many Mac-
related fixes since the last official releases.

Also, have you seen this?:
<http://www.vtk.org/Wiki/Cocoa_VTK>

-- 
____________________________________________________________
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