Page 1 of 1

[no bug] Linux + compiling Irrlicht 1.6

Posted: Sun Oct 11, 2009 9:19 pm
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.

Posted: Sun Oct 11, 2009 9:45 pm
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

Posted: Sun Oct 11, 2009 10:47 pm
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?

confirm the problem

Posted: Mon Oct 12, 2009 7:41 pm
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.

resolved

Posted: Mon Oct 12, 2009 8:11 pm
by enzopitek
i was missing two packages:

nvidia-glx-dev

libxxf86vm-dev

now it works