Page 1 of 1

Linux compile problems

Posted: Mon Aug 16, 2004 8:04 pm
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

Posted: Tue Aug 17, 2004 6:05 pm
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

...

Posted: Tue Aug 24, 2004 1:21 am
by xhrit
you need to link the x libs...

Posted: Tue Aug 24, 2004 6:19 pm
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.