Compile Irrlicht on Linux server without OpenGL?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fnolis
Posts: 10
Joined: Thu Jun 24, 2004 8:25 am
Location: Sweden

Compile Irrlicht on Linux server without OpenGL?

Post by fnolis »

How do I compile the Irrlicht on a linux server without the OpenGL libs? I run the Makefile on my plain CentOS server and when I get to the opengl file it stops. This is the last thing I try to compile (via the Makefile) before a @£¤%! load of errors fills my screen.

g++ -Wall -g -D_DEBUG -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o COpenGLDriver.o COpenGLDriver.cpp

So, please, how do I get around this problem?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Simply use the IrrCompileConfig.h file to disable OpenGL usage. There's a define in that file which you have to comment out.
Post Reply