Code: Select all
g++ -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing -g -D_DEBUG -I../../include -Izl
ib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o COpenGLDriver.o COpen
GLDriver.cpp
In file included from COpenGLDriver.h:25,
from COpenGLDriver.cpp:5:
COpenGLExtensionHandler.h:63:20: error: GL/gl.h: No such file or directory
COpenGLExtensionHandler.h:64:21: error: GL/glx.h: No such file or directory
In file included from COpenGLExtensionHandler.h:67,
from COpenGLDriver.h:25,
from COpenGLDriver.cpp:5:
glext.h:4491: error: typedef ‘PFNGLBLENDCOLORPROC’ is initialized (use __typeof__ instead)
glext.h:4491: error: ‘GLclampf’ was not declared in this scope
glext.h:4491: error: ‘GLclampf’ was not declared in this scope
glext.h:4491: error: ‘GLclampf’ was not declared in this scope
glext.h:4491: error: ‘GLclampf’ was not declared in this scope
glext.h:4492: error: typedef ‘PFNGLBLENDEQUATIONPROC’ is initialized (use __typeof__ instead
)
glext.h:4492: error: ‘GLenum’ was not declared in this scope
glext.h:4493: error: typedef ‘PFNGLDRAWRANGEELEMENTSPROC’ is initialized (use __typeof__ ins
tead)
glext.h:4493: error: ‘GLenum’ was not declared in this scope
glext.h:4493: error: ‘GLuint’ was not declared in this scope
glext.h:4493: error: ‘GLuint’ was not declared in this scope
glext.h:4493: error: ‘GLsizei’ was not declared in this scope
glext.h:4493: error: ‘GLenum’ was not declared in this scope
glext.h:4493: error: expected primary-expression before ‘const’
glext.h:4494: error: typedef ‘PFNGLTEXIMAGE3DPROC’ is initialized (use __typeof__ instead)
glext.h:4494: error: ‘GLenum’ was not declared in this scope
glext.h:4494: error: ‘GLint’ was not declared in this scope
glext.h:4494: error: ‘GLint’ was not declared in this scope
glext.h:4494: error: ‘GLsizei’ was not declared in this scope
glext.h:4494: error: ‘GLsizei’ was not declared in this scope
glext.h:4494: error: ‘GLsizei’ was not declared in this scope
glext.h:4494: error: ‘GLint’ was not declared in this scope
glext.h:4494: error: ‘GLenum’ was not declared in this scope
glext.h:4494: error: ‘GLenum’ was not declared in this scope
glext.h:4494: error: expected primary-expression before ‘const’
glext.h:4495: error: typedef ‘PFNGLTEXSUBIMAGE3DPROC’ is initialized (use __typeof__ instead
)
Code: Select all
In file included from COpenGLDriver.h:25,
from COpenGLDriver.cpp:5:
COpenGLExtensionHandler.h:830: error: ‘GLfloat’ does not name a type
COpenGLExtensionHandler.h:832: error: ‘GLfloat’ does not name a type
COpenGLExtensionHandler.h:834: error: ‘GLfloat’ does not name a type
COpenGLExtensionHandler.h:836: error: ‘GLfloat’ does not name a type
COpenGLExtensionHandler.h:845: error: ‘GLenum’ has not been declared
COpenGLExtensionHandler.h:846: error: ‘GLenum’ has not been declared
COpenGLExtensionHandler.h:847: error: ‘GLint’ has not been declared
COpenGLExtensionHandler.h:847: error: ‘GLfloat’ has not been declared
COpenGLExtensionHandler.h:848: error: ‘GLint’ has not been declared
COpenGLExtensionHandler.h:848: error: expected ‘,’ or ‘...’ before ‘*’ token
COpenGLExtensionHandler.h:848: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
COpenGLExtensionHandler.h:849: error: ‘GLenum’ has not been declared
COpenGLExtensionHandler.h:849: error: ‘GLenum’ has not been declared
COpenGLExtensionHandler.h:849: error: ‘GLint’ has not been declared
COpenGLExtensionHandler.h:849: error: ‘GLuint’ has not been declared
Thanks!