jirr on LINUX Error

Discussion about Irrlicht's Java wrapper
Post Reply
Maikon Santos
Posts: 2
Joined: Fri Apr 27, 2007 5:38 am

jirr on LINUX Error

Post by Maikon Santos »

I am using:

static
{
System.loadLibrary("irrlicht_wrap");
}

Error on LINUX only:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no irrlicht_wrap in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at TestHelloWorld.<clinit>(TestHelloWorld.java:96)

I compiled the irrlicht-1.3 source and generated "libIrrlicht.a"

Can somebody help me??

Sorry my bad inglish :)
jirr
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

Post by jirr »

Your runtime environment is missing something - in fact the native wrapper library cannot be found (libirrlicht_wrap.so).

Or in other words: irrlicht does not include jirr. jirr is created on top of irrlicht but requres its own middle tier (java+jirr.jar<->libirrlicht_wrap.so<->libirrlicht).
Maikon Santos
Posts: 2
Joined: Fri Apr 27, 2007 5:38 am

library

Post by Maikon Santos »

Then in Windows OS the library is "D3DX81ab.dll, ikpMP3.dll, irrKlang.dll, irrklang_wrap.dll, Irrlicht.dll, irrlicht_wrap.dll"

and Linux OS is "ikpMP3.so, irrKlang.so, irrklang_wrap.so, Irrlicht.so, irrlicht_wrap.so"

??

In Windows OS the example TestHelloWorld work great, but Linux no.


Where Can I do download the compiled library for Linux??

thanks !
Post Reply