linking problem with irrlicht 0.11.0

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
kAd
Posts: 45
Joined: Fri Jun 10, 2005 8:46 pm

linking problem with irrlicht 0.11.0

Post by kAd »

i was using irrlicht 0.10.0 whitch i patched for linux use, now that the new version support almost all the features i need i decided to replace the old version but ...

everything compiles with no problem, but the linker gives me those errors :
/usr/X11R6/lib/libIrrlicht.a(COpenGLTexture.o)(.text+0x616): In function `irr::video::COpenGLTexture::copyTexture()':
: undefined reference to `gluBuild2DMipmaps'
/usr/X11R6/lib/libIrrlicht.a(COpenGLTexture.o)(.text+0x625): In function `irr::video::COpenGLTexture::copyTexture()':
: undefined reference to `gluErrorString'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [all] Erreur 1
i tried to find a similar problem in the forum but it doesn't solved my problem ..

can someone help please ?
[ Enzys http://enzys.online.fr ] : Un MMORPG français en dev (^_^)Y
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Yep, that's a new dependency, I'm sorry: Irrlicht now needs libGlu installed in your system. However, if you don't want to install it and you can live without mip maps, just disable to #define in the .cpp file, which says something like Linux and MipMaps.
kAd
Posts: 45
Joined: Fri Jun 10, 2005 8:46 pm

Post by kAd »

oh ok thank you :)
[ Enzys http://enzys.online.fr ] : Un MMORPG français en dev (^_^)Y
Post Reply