[no bug] Linux + compiling Irrlicht 1.6

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Minnek
Posts: 12
Joined: Sun Jul 06, 2008 3:40 am

[no bug] Linux + compiling Irrlicht 1.6

Post by Minnek »

Having issues compiling in Fedora 11 with gcc 4.1.1.

While trying to make in the source/Irrlicht folder, I get this set of errors and it halts the make process:

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,
                 from COpenGLDriver.cpp:5:
COpenGLExtensionHandler.h:927: error: ‘PFNGLCOMPRESSEDTEXIMAGE2DPROC’ does not name a type
COpenGLExtensionHandler.h: In member function ‘void irr::video::COpenGLExtensionHandler::extGlCompressedTexImage2D(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const void*)’:
COpenGLExtensionHandler.h:1351: error: ‘pGlCompressedTexImage2D’ was not declared in this scope
make: *** [COpenGLDriver.o] Error 1
I'm not sure what's causing it. Am I missing a dependency I didn't know I needed?

Any other info needed can be posted as necessary. Thank you everyone for your help.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Is your OpenGL version less than 1.3? PFNGLCOMPRESSEDTEXIMAGE2DPROC should be defined in /usr/lib/GL/glext.h

Moving to bug reports anyway
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Minnek
Posts: 12
Joined: Sun Jul 06, 2008 3:40 am

Post by Minnek »

I'm positive I have a version higher than 1.3, and it appears to be defined in my glext.h file at the path /usr/include/GL/glext.h.

Is there a way to check what path is being used for GL includes? Maybe it's looking somewhere else that the glext file doesn't exist?
enzopitek
Posts: 2
Joined: Mon Oct 12, 2009 7:25 pm

confirm the problem

Post by enzopitek »

On Debian Testing amd 64 , with gcc 4.3.4, I met the same problem today when i tried to compile Irrlicht 1.5 and 1.6

@Minnek Is your computer a 64 bit one ?

On different forums, I could read there is a relationship between this bug and the 64bit chipsets.
enzopitek
Posts: 2
Joined: Mon Oct 12, 2009 7:25 pm

resolved

Post by enzopitek »

i was missing two packages:

nvidia-glx-dev

libxxf86vm-dev

now it works
Post Reply