Linux compile problems

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
StickyBit
Posts: 94
Joined: Mon Jul 05, 2004 3:40 am
Location: Sønderup, Denmark
Contact:

Linux compile problems

Post by StickyBit »

Hi guys

I'm trying to get Irrlicht to work on my Linux box .. but I'm having som problems with it. The Irrlicht library compiles fine .. but I can't get the examples up running:

-------------------------------------------------
[stickybit@danger 8.SpecialFX]$ make
g++ main.cpp -o example -I"../../include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"../../lib/Linux" -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lz -ljpeg

[stickybit@danger 8.SpecialFX]$ ./example
Irrlicht Engine version 0.6
Linux
Creating X window...
./example: relocation error: ./example: undefined symbol: XF86VidModeGetAllModeLines
-------------------------------------------------

What could be the problem here?

Regards StickyBit
StickyBit
Posts: 94
Joined: Mon Jul 05, 2004 3:40 am
Location: Sønderup, Denmark
Contact:

Post by StickyBit »

Problem kinda solved: It didn´t work on a Redhat 9 system .. but it works just fine on a Fedora Core 2 system.

Regards StickyBit
xhrit
Posts: 140
Joined: Mon Jun 14, 2004 8:54 am
Location: earth
Contact:

...

Post by xhrit »

you need to link the x libs...
Core2Duo E8400 3.0ghz - 2048mb DDR2 800 - geForce 9600 - Slackware12.1

Word-image-symbol programming limits, controls, and imprisons the individual.
Smash the control images, smash the control machine.
melon2004
Posts: 13
Joined: Tue Jul 27, 2004 6:53 pm

Post by melon2004 »

here, on Mandrakelinux 10 everything works fine. In fact, I've found Kdevelop far more helpful and feature rich than dev-c on another computer with Windows. Problem is, that my app is ment to work under windows (it's for someone else), so... I just have to move sources from Lin to Win from time to time... and it recompiles just fine.
Post Reply