jirr on LINUX Error

Discussion about Irrlicht's Java wrapper

jirr on LINUX Error

Postby Maikon Santos » Fri Apr 27, 2007 5:58 am

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 :)
Maikon Santos
 
Posts: 2
Joined: Fri Apr 27, 2007 5:38 am

Postby jirr » Fri Apr 27, 2007 11:29 pm

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).
jirr
 
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

library

Postby Maikon Santos » Sat Apr 28, 2007 3:20 am

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 !
Maikon Santos
 
Posts: 2
Joined: Fri Apr 27, 2007 5:38 am


Return to Jirr

Who is online

Users browsing this forum: No registered users and 0 guests