Hello Guest

Help on linux.

  • 3 Replies
  • 3456 Views
*

Offline Xom

  • *
  • 6
Help on linux.
« on: July 10, 2006, 19:12:24 »
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?

*

Offline Xom

  • *
  • 6
Help on linux.
« Reply #1 on: July 11, 2006, 09:29:50 »
ok got it working

*

Offline Matzon

  • *****
  • 2242
Help on linux.
« Reply #2 on: July 11, 2006, 09:34:16 »
what was wrong ? - compiled lwjgl to x64?

*

Offline Xom

  • *
  • 6
Help on linux.
« Reply #3 on: July 11, 2006, 19:11:47 »
I guess I was using a 64 bit compiler then I changed the complier to a older on and it worked.