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

Gerrick Bivins biv at iastate.edu
Fri Oct 26 08:32:00 PDT 2007


Sorry about the late response here. My gmail filters decided to trash this
convo. I thought it was strange that no one responded so I dug on the lists
archive this morning and saw that you responded. Anyway...
Ok.
I'll give this a try. Yeah this is strange because my initial checkout and
build worked fine but I then updated a couple of days later and tried to
build (luckly only did make and not clean, make!!!) and this error started
happening.
biv

On 10/23/07, Robert Osfield <robert.osfield at gmail.com> wrote:
>
> Hi Gerrick,
>
> We spent near on a week trying to resolve this for 2.2 and basically
> couldn't solve it  in an elegant way - one either broke the cmake
> build on some OSX machines or broke the XCode build on all OSX
> machines.
>
> The hack to solve this has been to introduce a couple of variables
> into the CMake build.  Run ccmake and then scroll down to the
> OSG_GLU_TESS_CALLBACK_TRIPLEDOT entry and switch it to ON.
>
> You can also set this on by default by setting
> DEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT the var i.e.
>
>   cmake . -DDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT -DCMAKE_BUILD_TYPE=Release
>
> Robert.
>
> On 10/23/07, Gerrick Bivins <biv at iastate.edu> wrote:
> > 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
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071026/33544580/attachment-0003.htm>


More information about the osg-users mailing list