newbie comiling question - linux

Started by noneme., July 28, 2005, 15:23:41

Previous topic - Next topic

noneme.

Don't know quite who to ask about this...
When I try to compile the BasicGame.java from the wiki I get 20 errors, most in regard to "Symbol not found" for basic objects like :

org.lwjgl.input.Keyboard
             Keyboard.enableBuffer();

BasicGame.java:88: cannot find symbol
symbol  : variable Window
location: class BasicGame
                               Window.update();
etc.

This seems to be a library issue, it is not finding the necessary classes in the jar files.
If I am in the lwjgl jar directory, I am using the javac command as:
javac -classpath lwjgl.jar:lwjgl_test.jar:lwjgl_util.jar:lwjgl_devil.jar:lwjgl_fmod3.jar BasicGame.java


I do not understand how I should resolve the problem, should I be referencing the jar files differently or am I missing something entirely different?

Orangy Tang

Window has dissappeared, all the functionality is now in Display. Likewise I think keyboard buffering is automatic now. I guess that the code from the wiki is for a previous version. Shouldn't be too tricky to convert though...?