LWJGL
May 22, 2013, 13:01:13 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Version mismatch: jar version is '8', native libary version is '7'  (Read 2827 times)
verzuz
Newbie
*
Posts: 2


« on: February 27, 2007, 04:51:09 »

Hello,
i got some problems:
i was developing some stuff with an older version of lwjgl under win2k - after win crashed and im pi*ed off i moved to linux (again).
Now i dl the newest version of lwjgl (+ that optional stuff like devil) and tried to get it running.
The SpaceInvaders-Testgame is working, but when im trying to run my own stuff it says:
Code:
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '8', native libary version is '7'
        at org.lwjgl.Sys.<clinit>(Sys.java:105)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
        at Game.init(Game.java:80)
        at Game.main(Game.java:34)
compiling works - but after ...
Could it be, that the linux-natives are not been updated or something?
Could somebody help me out? Smiley
Logged
the2bears
Talks Too Much
***
Posts: 117



WWW
« Reply #1 on: February 27, 2007, 18:11:20 »

Sounds to me like you have the wrong native libraries for linux... check that you don't have any old versions sitting around in a ext directory or something. 

Bill
Logged

the2bears - the indie shmup blog
verzuz
Newbie
*
Posts: 2


« Reply #2 on: February 28, 2007, 04:31:09 »

Well - i have the right librarys in the right folders - but my TextureLoader caused this error. I'm not sure why, but now i changed the Loader (now i use parts of the TextureLoader in the SpaceInvaders-Example).
But thx for your help Smiley
Logged
tofumayhem
Newbie
*
Posts: 2


« Reply #3 on: April 18, 2007, 14:09:54 »

Sorry to bring up that old thread but I ran into the exact same problem.
I'm using the sourcecode from http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/devil/loadingtextures?s=texture
to load textures.
I get the "Version mismatch: jar version is '8', native libary version is '7'"  as soon as I hit GL11.glGenTextures(scratch);

I checked everything, created a new project, donloaded the current version from sourceforge, added the library path to the new version.
Any idea about that?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #4 on: April 18, 2007, 22:42:35 »

your jar is incompatible with your native version. Most likely you have a native component in the jre/ext folder or windows folder. Please remove any old lwjgl*.dll files and replace them with a version that matches your jar.
Logged

tofumayhem
Newbie
*
Posts: 2


« Reply #5 on: April 20, 2007, 15:40:35 »

Sorry for the late answer, but for this project I moved to JOGL as we needed something asap.
But I'm still interested in LWJGL and to pin that down.
Actually I'm running on a fresh installed UBUNTU, no old LWJGL installation.
Nothing in ext or anywhere else (I keep everything in my eclipse projects to not spoil my installation).
Any other idea?

Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #6 on: April 20, 2007, 15:47:31 »

unless the linux dist is broke - which is highly unlikely - then you have a Jar and .so that are mismatched - *somewhere* you have a rogue jar or native lib.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!