MantisBT - VTK
View Issue Details
0006255VTK(No Category)public2008-01-17 13:152008-06-03 14:51
andy s 
Sean McBride 
normalmajoralways
closedfixed 
 
 
0006255: VTK fails to build on OSX Leopard
VTK fails to build on OS 10.5 because the compiler is stricter on type checking,

In vtkCocoaRenderWindow.mm, there are several instances where a long is passed to aNSOpenGLPixelFormat which expect a GLint.

All instances of long (I changed 3 or 4) need to be changed to a GLint in order to compile properly on OS 10.5.
No tags attached.
txt diff.txt (123) 2008-01-19 14:10
https://www.vtk.org/Bug/file/6289/diff.txt
Issue History
2008-01-17 13:15andy sNew Issue
2008-01-19 14:10andy sFile Added: diff.txt
2008-01-19 14:11andy sNote Added: 0010200
2008-01-22 10:25Sean McBrideNote Added: 0010211
2008-01-22 10:32Sean McBrideAssigned To => Sean McBride
2008-01-22 10:32Sean McBrideStatusbacklog => tabled
2008-01-22 10:33Sean McBrideNote Added: 0010213
2008-01-22 10:33Sean McBrideStatustabled => @80@
2008-01-22 10:33Sean McBrideResolutionopen => fixed
2008-06-03 14:51Sean McBrideStatus@80@ => closed
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0010200)
andy s   
2008-01-19 14:11   
attached is a diff
(0010211)
Sean McBride   
2008-01-22 10:25   
This was fixed about 1/2 a year ago in CVS. Are you talking about VTK 5.0.3? If so, don't bother with it on 10.5, use CVS.
(0010213)
Sean McBride   
2008-01-22 10:33   
BTW, its not because "the compiler is stricter on type checking", it's because Apple changed their headers. If you build against the 10.4 SDK, you won't have any problem.