Code: Select all
g++ -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -g -D_DEBUG -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o COpenGLDriver.o COpenGLDriver.cpp
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)
^
<builtin>: recipe for target 'COpenGLDriver.o' failed
make: *** [COpenGLDriver.o] Error 1
( http://web.archiveorange.com/archive/v/ ... B5ptzkv9q0 )mesa: remove PFNGLBLENDCOLORPROC, PFNGLBLENDEQUATIONPROC typedefs in gl.h
Fixes error about duplicated typedefs (also in glext.h) reported on
NetBSD 6.1
The only other place this typedef exists for me is in glew.h (/usr/include/GL/glew.h):
Code: Select all
GLEW_FUN_EXPORT PFNGLBLENDEQUATIONPROC __glewBlendEquation;
- Adding the #define to COpenGLDriver.cpp as a hack
- #including "GL/glew.h"
Am I interpreting this error message correctly? What path should I take to debug it?
Meanwhile: Irrlicht 1.7.3 works perfectly for me but I've hit some issues with the collada (.dae) geom format that I think were solved in 1.8. I'd love to be able to use .b3d or .irrmesh, but the export plugins only exist for blender 2.4 (latest=2.7). Re other formats: UV mapping seems to not be properly exported from blender for .obj, .stl only supports a single raw mesh and the .md* exporters are crashing on me
Arch Linux x86_64, mesa 10.3.3, gcc 4.9.2