I just did a fresh download of the 2.4 release zip file.
I ran "cmake . ; make"
I got the following error on Mac OS X Leopard 10.5.2 on an Intel Mac
with case sensitive HFS.
[ 25%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/
Tessellator.o
[ 25%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/
TransformAttributeFunctor.o
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp: In member function ‘void
osgUtil::Tessellator::beginTessellation()’:
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:44: error: invalid conversion from ‘void (*)(...)’ to
‘GLvoid (*)()’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:44: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:45: error: invalid conversion from ‘void (*)(...)’ to
‘GLvoid (*)()’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:45: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:46: error: invalid conversion from ‘void (*)(...)’ to
‘GLvoid (*)()’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:46: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:47: error: invalid conversion from ‘void (*)(...)’ to
‘GLvoid (*)()’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:47: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:48: error: invalid conversion from ‘void (*)(...)’ to
‘GLvoid (*)()’
/Users/dlarimer/Downloads/OpenSceneGraph-2.4.0/src/osgUtil/
Tessellator.cpp:48: error: initializing argument 3 of ‘void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())’
I know how to fix it by changing a #define, but I feel that this
should be AUTOMATIC.
What's the deal? Surely someone else has had this problem.
Dan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org