Installing Irrlicht (3D Engine) in Linux

Long time no see… I’ve been busy lately. There were so many works to be done quickly.

Today, we will learn how to install Irrlicht (3D Engine) in Linux. For Ubuntu user, you just to put these command lines into your terminal (Applications > Accessories > Terminal):

$ sudo apt-get update
$ sudo apt-get install irrlicht irrlicht-dev

Now, you have irrlicht library in /usr/local/lib

But, if you want to install from the source, just follow these instructions. Please read carefully and not to read too close to your monitor 🙂 and also keep your eyes from eyestrain. Remember, I’m doing this from the terminal; because it is simple and fun.

Prepare folder for irrlicht source, e.g. $HOME/irrlicht
$ mkdir $HOME/irrlicht

Install all its dependencies:
$ sudo apt-get install -y build-essential subversion xserver-xorg-dev x11proto-xf86vidmode-dev libxxf86vm-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxext-dev

Checking out the latest version of source code:
$ svn checkout $HOME/irrlicht

Compiling the irrlicht:
$ cd $HOME/irrlicht
$ make

That’s it… Now you have irrlicht library in $HOME/irrlicht/lib/Linux

Next time, I will show you how to setup the environment for irrlicht on your favorite editor (e.g. NetBeans, QTCreator, etc). Have fun…. 😉

Lucky Borneo

Lucky is lucky, just lucky.