LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: RemalKoil on February 06, 2007, 16:31:10

Title: DevIL on Linux 64 bit
Post by: RemalKoil on February 06, 2007, 16:31:10
Hello world! :D
I've developed a game engine on LWJGL (http://easyway.sf.net)
The Game Engine works fine on all computers that I've tested except for one:

When I try to execute my program, I get the following error:

Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: /home/remalkoil/project/lib/liblwjgl-devil.so: /home/remalkoil/project/lib/liblwjgl-devil.so: wrong ELF class: ELFCLASS32
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.lwjgl.devil.ILNative$1.run(ILNative.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.devil.ILNative.loadLibrary(ILNative.java:62)
at org.lwjgl.devil.ILNative.<clinit>(ILNative.java:77)
at org.lwjgl.devil.IL.create(IL.java:590)
at org.easyway.system.Core.init(Core.java:212)
at org.easyway.system.Sincro.run(Sincro.java:62)


The computer is an AMD64 and I'm using a Linux OS with a 64bit kernel.
The Java Virtual Machine is 64bit too.
What is it the problem? :(

Thanks you very much :)
Best Regards,
-Dany-
Title: Re: DevIL on Linux 64 bit
Post by: Matzon on February 06, 2007, 19:21:53
probably the need for 64bit devil and lwjgl-devil libs.
Title: Re: DevIL on Linux 64 bit
Post by: RemalKoil on February 07, 2007, 18:37:31
Thank you very much for the fast reply!
I've solved the problem simply installing a 32bit version of the JVM!

and..
Congratulation for the LWJGL project! :)

Best Regards,
-Dany-

PS: In this week I'll try to recompile the Lwjgl sources to get the liblwhgl-devil.so at 64bit ('cause I've seen that this isn't present in the .zip files..)