Hi Patric,

with this one I choose the lazy path and just renamed the typedefs used
by OpenSG, which should solve the problem as well.

        Cheers,
                Carsten

On Tue, 2007-08-21 at 14:07 +0200, Patric Schmitz wrote:
> FYI,
> i also had to comment out the
> 
> typedef void (OSG_APIENTRY * PFNGLMULTITEXCOORD3FARBPROC)(GLenum target,
>                                                            GLfloat s,
>                                                            GLfloat t,
>                                                            GLfloat r);
> 
> at line 70 in OSGSlices.cpp, as i had to do the last time, under Solaris 
> 2.10 (see link in quote below).
> 
> Patric Schmitz wrote:
> > Hey guys,
> > 
> > don't want to bother you ;) but i had to comment out the OpenGL function 
> > pointer defines in OSGFBOViewport.cpp. They were already defined in the 
> > GL/glext.h header on this system as (example):
> > 
> > typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const 
> > GLenum *bufs);
> > 
> > OpenSG tried to define them as:
> > 
> > typedef void (OSG_APIENTRY * PFNGLDRAWBUFFERSARBPROC)
> >     (GLsizei n, const GLenum* bufs);
> > 
> > (which seems so far identical...), and i got the errors:
> > 
> > line 189: Error: Multiple declaration for PFNGLDRAWBUFFERSARBPROC.
> > line 192: Error: Multiple declaration for PFNGLBINDFRAMEBUFFEREXTPROC.
> > line 194: Error: Multiple declaration for PFNGLBINDRENDERBUFFEREXTPROC.
> > line 196: Error: Multiple declaration for 
> > PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC.
> > line 198: Error: Multiple declaration for PFNGLDELETEFRAMEBUFFERSEXTPROC.
> > line 200: Error: Multiple declaration for PFNGLDELETERENDERBUFFERSEXTPROC.
> > line 202: Error: Multiple declaration for 
> > PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC.
> > line 204: Error: Multiple declaration for PFNGLFRAMEBUFFERTEXTURE1DEXTPROC.
> > line 206: Error: Multiple declaration for PFNGLFRAMEBUFFERTEXTURE2DEXTPROC.
> > line 208: Error: Multiple declaration for PFNGLFRAMEBUFFERTEXTURE3DEXTPROC.
> > line 210: Error: Multiple declaration for PFNGLGENFRAMEBUFFERSEXTPROC.
> > line 212: Error: Multiple declaration for PFNGLGENRENDERBUFFERSEXTPROC.
> > line 214: Error: Multiple declaration for PFNGLGENERATEMIPMAPEXTPROC.
> > line 216: Error: Multiple declaration for 
> > PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC.
> > line 218: Error: Multiple declaration for 
> > PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC.
> > line 220: Error: Multiple declaration for PFNGLISFRAMEBUFFEREXTPROC.
> > line 222: Error: Multiple declaration for PFNGLISRENDERBUFFEREXTPROC.
> > line 224: Error: Multiple declaration for PFNGLRENDERBUFFERSTORAGEEXTPROC.
> > 
> > i already encountered the error the last time (when building 1.6 on 
> > Solaris 2.10), refer to 
> > http://www.mail-archive.com/[email protected]/msg05177.html,
> >  
> > 
> > but the doesn't seem to have been fixed since then.
> > 
> > It (still) works for me by commenting out the OpenSG defines, but i 
> > would propose to do something like the GL headers do on this system for 
> > every such typedef:
> > 
> > #ifndef GL_ARB_draw_buffers
> > #define GL_ARB_draw_buffers 1
> > typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const 
> > GLenum *bufs);
> > #endif
> > 
> > i bet you guys have a better clue about what to do about this.
> > 
> > regards,
> >   Patric
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________ Opensg-users mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to