Help on linux.

Started by Xom, July 10, 2006, 19:12:24

Previous topic - Next topic

Xom

I am using the 64 version of suse linux 10.1. I am able to compile my game just fine on linux and windows xp. I can run my game just fine on windows but when ever I try to run a lwjgl app in linux I get this error.


Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/myname/Desktop/Final/native/liblwjgl.so: /home/myname/Desktop/Final/native/liblwjgl.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:992)
       at org.lwjgl.Sys$1.run(Sys.java:62)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.lwjgl.Sys.loadLibrary(Sys.java:60)
       at org.lwjgl.Sys.<clinit>(Sys.java:74)
       at org.lwjgl.util.Timer.<clinit>(Timer.java:50)
       at Final.<clinit>(Final.java:24)

What am I doing wrong? How do I get it to run?

Xom


Matzon

what was wrong ? - compiled lwjgl to x64?

Xom

I guess I was using a 64 bit compiler then I changed the complier to a older on and it worked.