For building the irrlicht engine on Kubuntu you need first download the source package from http://irrlicht.sourceforge.net/downloads.html and unpack it.
Enter the source/Irrlicht folder inside the new irrlicht folder and start compilation with make.
If you run into trouble with error messages it is because of missing dependencies. Install following packages from the kubuntu repository:
- libgl1-mesa-dev
- libglu1-mesa-dev
- libXxf86vm-dev
and try again. Now everything should compile fine.
In the examples directory are some directories with examples and corresponding Makefiles. After executing make you will find the results in bin/Linux
If the Linker complains “cannot find -lXext” remove the -lXext in the Makefile from the compile command. Its not nessesary.
Recent Comments