… corat – coret …

Installing Irrlicht (3D Engine) in Linux

Posted in Linux, Tricky, Ubuntu by luckyborneo on October 2, 2010

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 https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk $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…. 😉

Tagged with: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: