linux and compile irrlicht !?

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
n3wg4m3d3v
Posts: 7
Joined: Mon Jul 25, 2005 7:24 am

linux and compile irrlicht !?

Post by n3wg4m3d3v »

Hi
I'm a new linux user (5 days) and I want compile irrlicht but my linux don't have libraries and header files (I install it from a live cd).
I search for opengl sdk but I can't find it and find comment about Mesa and DRI and X.org and ...
Can I compile irrlicht with mesa and DRM without use opengl libraries?
I need hardware acceleration.
I think I must download all developer packages.
Please help me.
Thanks in advance and sorry for my English.
Andreas
Posts: 166
Joined: Sun Oct 31, 2004 7:15 am
Location: Münster / Germany
Contact:

Post by Andreas »

Hi,

what distribution are you using? And i think you will get more help on setting up 3D accelleration in some linux forums. :)
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Andreas is right; according to the linux distro you're using there are several ways to get the required packages for Irrlicht to compile; but to get GL acceleration you just need the latest drivers for your card. Visit your chipset's site (Nvidi-ATI-other) and look for linux drivers.

after that you'll need to download from a compiler (GCC) to additional libraries.
hybrid

Post by hybrid »

You can also use Mesa and compile Irrlicht without DRI and X11 acceleration. But Mesa is just OpenGL, and not necessary hardware acceleration. You won't get much more than 2 FPS, though. But, Mesa is also used for X11 hardware acceleration, so don't mess up with the term 'having Mesa' with all different meanings.
A LiveCD system is definitely not very useful to develop applications. Installing Linux on its own partition is very simple and definitely helps. You may use LiveCD systems for testing your app on different hardware.
n3wg4m3d3v
Posts: 7
Joined: Mon Jul 25, 2005 7:24 am

Post by n3wg4m3d3v »

Thanks for your replies and advices.
What is the best distro for developers ?
I want one of distros with essential library for compile irrlicht that after install it we don't need download packages or least downloads.
I now use a debian based distro and it use synaptic package manager.
If I can get needed packages with use it ,please help me and define packages name.
Thanks.
hybrid

Post by hybrid »

Irrlicht is self-contained such that no other libraries are needed. However, your system must meet some minimum requirements. Graphics support is counted as system requirement such that packages and libraries for X11 must be user supplied. It is not possible to build an app that would setup a hardware accelerated X11 config for the enduser. For development you'll need the X11 headers, too, but developer machines should always install both normal and devel packages. But except for the usual X11 and OpenGL packages you won't need anything else.
Post Reply