FengGUI Tutorial Error

I downloaded the latest FengGUI from the svn and it has no errors.  I added the FengJME and FengJMEInputHandler from New Integrating FengGUI with jME - by Unfair and have no errors but when I try to run FengJME I get:



Jun 30, 2008 5:12:56 PM com.jme.app.BaseGame start

INFO: Application started.

Jun 30, 2008 5:12:56 PM com.jme.system.PropertiesIO <init>

INFO: PropertiesIO created

Jun 30, 2008 5:12:56 PM com.jme.system.PropertiesIO load

WARNING: Could not load properties. Creating a new one.

Jun 30, 2008 5:12:56 PM class FengJME start()

SEVERE: Exception in game loop

java.lang.LinkageError: Version mismatch: jar version is '11', native libary version is '12'

at org.lwjgl.Sys.<clinit>(Sys.java:105)

at org.lwjgl.opengl.Display.<clinit>(Display.java:111)

at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)

at com.jme.app.AbstractGame.getAttributes(Unknown Source)

at com.jme.app.BaseGame.start(Unknown Source)

at FengJME.main(FengJME.java:289)

Exception in thread "main" java.lang.RuntimeException: Error creating input provider

at com.jme.input.MouseInput.get(Unknown Source)

at FengJME.cleanup(FengJME.java:71)

at com.jme.app.BaseGame.start(Unknown Source)

at FengJME.main(FengJME.java:289)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

… 4 more

Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.Display

at org.lwjgl.input.Mouse.create(Mouse.java:265)

at com.jme.input.lwjgl.LWJGLMouseInput.<init>(Unknown Source)

… 8 more





I am not sure what is causing the version mismatch problem.

Make sure the dll and the jar of LWJGL is from the same build.

are you using jme 1 oder 2.0 ?

I am using 1.0, the latest cvs version.

I copied the lwjgl.jar from JME to FengGUI and it works.