i get an error when recompiling irrlicht 1.2 in linux.
everything compiles fine until it gets to glxext.h
everything there is undeclared (e.g XID, Bool)
i'm using Ubuntu Dapper.
Hope someone can solve this...
Also, i had another problem before this. g++ can't find:
GL/gl.h and GL/glu.h
(which are included in COpenGLDriver.h)
so i copied these files from the GL folder from Dev-Cpp/include/ folder from windows. i'm not sure if this is the cause of the problem but it might be.
glxext.h error when compiling in linux
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Better install OpenGL under Ubuntu. Something like xserver-opengl or the like. otherwise you won't get it to run (due to lack of OpenGL library which you cannot copy from somewhere else). If you don't find a hardware accelerated library for your gfx card you might use Mesa as a software solution (though having only around 2 FPS).
I'm using Ubuntu Edgy. I'm new to Irrlicht and just set up a project in KDevelop. I'm not compiling Irrlicht from source, but I did have to link in the OpenGL libraries like you.
I was able to do it with a -lGL and -lGLU on the g++ command line. I believe I've got Mesa installed. This page might be useful for you: http://ubuntuforums.org/showthread.php?t=17449
Good luck!
I was able to do it with a -lGL and -lGLU on the g++ command line. I believe I've got Mesa installed. This page might be useful for you: http://ubuntuforums.org/showthread.php?t=17449
Good luck!