I have encountered a bug while I tried to compile the Irrlicht engine with the newest version of Mesa 10.1.
It reportet that there is no definition of PFNGLBLENDEQUATIONPROC.
Code: Select all
In file included from COpenGLDriver.h:25:0,
from COpenGLDriver.cpp:5:
COpenGLExtensionHandler.h:1236:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
PFNGLBLENDEQUATIONPROC pGlBlendEquation;
^
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2566:6: error: ‘pGlBlendEquation’ was not declared in this scope
if (pGlBlendEquation)
^
In file included from COpenGLDriver.h:25:0,
from COpenGLNormalMapRenderer.cpp:13:
COpenGLExtensionHandler.h:1236:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
PFNGLBLENDEQUATIONPROC pGlBlendEquation;
^
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2566:6: error: ‘pGlBlendEquation’ was not declared in this scope
if (pGlBlendEquation)
^
<builtin>: recipe for target 'COpenGLNormalMapRenderer.o' failed
make: *** [COpenGLNormalMapRenderer.o] Error 1
make: *** Waiting for unfinished jobs....
<builtin>: recipe for target 'COpenGLDriver.o' failed
make: *** [COpenGLDriver.o] Error 1
In file included from COpenGLDriver.h:25:0,
from COpenGLParallaxMapRenderer.cpp:9:
COpenGLExtensionHandler.h:1236:3: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
PFNGLBLENDEQUATIONPROC pGlBlendEquation;
^
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlBlendEquation(GLenum)’:
COpenGLExtensionHandler.h:2566:6: error: ‘pGlBlendEquation’ was not declared in this scope
if (pGlBlendEquation)
^
<builtin>: recipe for target 'COpenGLParallaxMapRenderer.o' failed
make: *** [COpenGLParallaxMapRenderer.o] Error 1
Can anyone confirm that? My guess is that glext.h has to be included as well where PFNGLBLENDEQUATIONPROC is used but I am not sure if this triggers a new bug in older Mesa version because of multiple typedefs. Any ideas to fix that?
regards