Hello Marcio,

> It passed that error but now it produces another error message in  
> several files:
>
> /Users/marcio/Programming/OpenSG/Source/Experimental/Text/ 
> OSGVectorFontGlyph.cpp: In member function 'bool  
> osg::VectorFontGlyph::createTriangles()':
> /Users/marcio/Programming/OpenSG/Source/Experimental/Text/ 
> OSGVectorFontGlyph.cpp:240: error: invalid conversion from 'GLvoid  
> (*)(...)' to 'GLvoid (*)()'
> /Users/marcio/Programming/OpenSG/Source/Experimental/Text/ 
> OSGVectorFontGlyph.cpp:240: error:   initializing argument 3 of  
> 'void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)())'
>

Try to adjust the declaration of "OSGGLUfuncptr" in "OpenSG/Source/ 
Base/Base/OSGGLU.h":

Old:
...
#elif defined(__APPLE__)
typedef GLvoid (*OSGGLUfuncptr)(...);
#else
...

New:
...
#elif defined(__APPLE__)
typedef GLvoid (*OSGGLUfuncptr)();
#else
...

Bye,

Patrick




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to