LWJGL
May 19, 2013, 21:57:41 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: LWJGL Problems?  (Read 4278 times)
demon
Newbie
*
Posts: 2


« on: November 26, 2005, 06:05:09 »

Code:

.\org\lwjgl\input\JInputController.java:472: package Component does not exist
                if ((value == Component.POV.DOWN_LEFT) ||
                                       ^
.\org\lwjgl\input\JInputController.java:473: package Component does not exist
                    (value == Component.POV.DOWN_RIGHT) ||
                                       ^
.\org\lwjgl\input\JInputController.java:474: package Component does not exist
                    (value == Component.POV.DOWN)) {
                                       ^
.\org\lwjgl\input\JInputController.java:477: package Component does not exist
                if ((value == Component.POV.UP_LEFT) ||
                                       ^
.\org\lwjgl\input\JInputController.java:478: package Component does not exist
                    (value == Component.POV.UP_RIGHT) ||
                                       ^
.\org\lwjgl\input\JInputController.java:479: package Component does not exist
                    (value == Component.POV.UP)) {
                                       ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
48 errors
2 warnings


When I try to run that test window from the "Installation" page, it works fine. But when I downloaded Game.java (not the space invader one, the one in the Demo page). I get this when I type in "javac Game.java". I haven't had this problem before, any ideas?
Logged
lightbringer
Newbie
*
Posts: 37


Lone Wolf


WWW
« Reply #1 on: November 26, 2005, 07:09:14 »

All I can think of is, are you including jinput.jar in your classpath? That jar contains the necessary net.java.games.input.Component interface.
Logged

demon
Newbie
*
Posts: 2


« Reply #2 on: November 26, 2005, 07:23:28 »

You mean my Operating System class path? I'm trying to run all of this under windows xp.
Logged
lightbringer
Newbie
*
Posts: 37


Lone Wolf


WWW
« Reply #3 on: November 26, 2005, 07:46:32 »

I mean java classpath. Haven't used the commandline for these kinds of operations in a while, but you need to compile with
javac.exe -cp c:\path\to\jinput.jar;c:\path\to\lwjgl.jar;c:\path\to\whateverelse.jar yourclass.java

you get the idea.
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!