[MacPorts] #17294: OpenSceneGraph Build Error on Mac OS X 10.5 Leopard

MacPorts noreply at macports.org
Tue Nov 18 01:25:58 PST 2008


#17294: OpenSceneGraph Build Error on Mac OS X 10.5 Leopard
----------------------------------+-----------------------------------------
  Reporter:  nDiScReEt at GmAiL.cOm  |       Owner:  ryandesign at macports.org
      Type:  defect               |      Status:  new                    
  Priority:  Normal               |   Milestone:  Port Bugs              
 Component:  ports                |     Version:  1.6.0                  
Resolution:                       |    Keywords:                         
      Port:  OpenSceneGraph       |  
----------------------------------+-----------------------------------------

Comment(by ryandesign at macports.org):

 OpenSceneGraph 2.4.0 builds on Tiger but on Leopard it fails with:

 {{{
 [...]/src/osgUtil/Tessellator.cpp: In member function 'void
 osgUtil::Tessellator::beginTessellation()':
 [...]/src/osgUtil/Tessellator.cpp:44: error: invalid conversion from 'void
 (*)(...)' to 'GLvoid (*)()'
 [...]/src/osgUtil/Tessellator.cpp:44: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 [...]/src/osgUtil/Tessellator.cpp:45: error: invalid conversion from 'void
 (*)(...)' to 'GLvoid (*)()'
 [...]/src/osgUtil/Tessellator.cpp:45: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 [...]/src/osgUtil/Tessellator.cpp:46: error: invalid conversion from 'void
 (*)(...)' to 'GLvoid (*)()'
 [...]/src/osgUtil/Tessellator.cpp:46: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 [...]/src/osgUtil/Tessellator.cpp:47: error: invalid conversion from 'void
 (*)(...)' to 'GLvoid (*)()'
 [...]/src/osgUtil/Tessellator.cpp:47: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 [...]/src/osgUtil/Tessellator.cpp:48: error: invalid conversion from 'void
 (*)(...)' to 'GLvoid (*)()'
 [...]/src/osgUtil/Tessellator.cpp:48: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
 }}}

 OpenSceneGraph 2.6.1 builds on Leopard but on Tiger it fails with:

 {{{
 [...]/src/osgUtil/Tessellator.cpp: In member function 'void
 osgUtil::Tessellator::beginTessellation()':
 [...]/src/osgUtil/Tessellator.cpp:44: error: invalid conversion from 'void
 (*)()' to 'GLvoid (*)(...)'
 [...]/src/osgUtil/Tessellator.cpp:44: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
 [...]/src/osgUtil/Tessellator.cpp:45: error: invalid conversion from 'void
 (*)()' to 'GLvoid (*)(...)'
 [...]/src/osgUtil/Tessellator.cpp:45: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
 [...]/src/osgUtil/Tessellator.cpp:46: error: invalid conversion from 'void
 (*)()' to 'GLvoid (*)(...)'
 [...]/src/osgUtil/Tessellator.cpp:46: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
 [...]/src/osgUtil/Tessellator.cpp:47: error: invalid conversion from 'void
 (*)()' to 'GLvoid (*)(...)'
 [...]/src/osgUtil/Tessellator.cpp:47: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
 [...]/src/osgUtil/Tessellator.cpp:48: error: invalid conversion from 'void
 (*)()' to 'GLvoid (*)(...)'
 [...]/src/osgUtil/Tessellator.cpp:48: error:   initializing argument 3 of
 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))'
 }}}

 I expect this entry from the ChangeLog is relevant:

 {{{
 2008-05-08 12:55 +0000 [r8283]  robert:

         * From Philip Lowman, "Attached is a patch to the toplevel
           CMakeLists.txt which adds an automated test for
           OSG_GLU_TESS_CALLBACK_TRIPLEDOT. This should help ease initial
           configuration on OS X systems."
 }}}

 Need to check whether the newest development version already fixes this.
 If so, we can try to get a patch. If not, we need to report the problem
 upstream.

-- 
Ticket URL: <http://trac.macports.org/ticket/17294#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list