[osg-users] mac osx osgUtil::Tessellator build fails with osg svn

Gerrick Bivins biv at iastate.edu
Mon Oct 22 23:03:59 PDT 2007


I've seen posts about this but haven't really seen a solution. I'm
receiving the following errors trying to compile osg from the cmd
line:


[ 21%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.o
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:
In member function 'void osgUtil::Tessellator::beginTessellation()':
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:45:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:45:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:46:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:46:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:47:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:47:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:48:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:48:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:
In member function 'void osgUtil::Tessellator::beginTessellation()':
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:45:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:45:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:46:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:46:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:47:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:47:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:48:
error: invalid conversion from 'void (*)(...)' to 'GLvoid (*)()'
/Users/gbivins/devEnv/research/APIs/OpenSceneGraph/src/osgUtil/Tessellator.cpp:48:
error:   initializing argument 3 of 'void
gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
lipo: can't figure out the architecture type of: /var/tmp//ccLf3cDX.out
make[2]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.o] Error 1
make[1]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/all] Error 2
make: *** [all] Error 2


Has this been resolved? How do I get around this?
biv



More information about the osg-users mailing list