if i set this, it compiles :-) but i dont understand why.
http://openframeworks.cc/admin/index.fcgi/changeset/88/graphics
... Tesselator.cpp :41f
gluTessCallback(_tobj, GLU_TESS_VERTEX_DATA,
(void(CALLBACK*)(...))&vertexCallback);
gluTessCallback(_tobj, GLU_TESS_BEGIN_DATA,
(void(CALLBACK*)(...))&beginCallback);
gluTessCallback(_tobj, GLU_TESS_END_DATA,
(void(CALLBACK*)(...))&endCallback);
gluTessCallback(_tobj,
GLU_TESS_COMBINE_DATA,(void(CALLBACK*)(...))&combineCallback);
gluTessCallback(_tobj, GLU_TESS_ERROR_DATA,
(void(CALLBACK*)(...))&errorCallback);
if (tessNormal.length ()>0.0) gluTessNormal(_tobj, tessNormal.x(),
tessNormal.y(), tessNormal.z());
...
then it compiles and works nice.
2007/10/3, Adrian Egli < [EMAIL PROTECTED]>:
>
> Sorry, i don't understand the problem i have.
> I removed the whole OSG subversion, check out for a new time, cmake -G
> Xcode -i . , cmake . , open OpenSceneGraph.xcodeproj, ...
> rebuild and still the same bug. then i tried to find how i can set the
> compiler settings, don't unterstand where. then i updated Xcode
> version 2.4.1, no change. ...
>
> /adegli
>
> 2007/10/3, Adrian Egli < [EMAIL PROTECTED]>:
> >
> > I am using macbookpro (intel) ppc and i386 as compiler settings.
> >
> > 2007/10/3, Stephan Huber < [EMAIL PROTECTED]>:
> > >
> > > Adrian Egli schrieb:
> > > > I am using XCode 2.4.1
> > > >
> > > are you using a ppc-based mac? I've seen theses kinds of inconsistency
> > > when using gcc on a ppc-platform -- it reported errors which didn't
> > > show
> > > up on an intel platform.
> > >
> > > cheers,
> > > Stephan
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> >
> >
> >
> > --
> > ********************************************
> > Adrian Egli
>
>
>
>
> --
> ********************************************
> Adrian Egli
--
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org