Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JInput / Re: Getting the test suite to run on: 2004-07-29 01:38:21
I am using the precompiled dll as I've been unable to untangle the #include spaghetti using either dx8 or 9.

All (and I've tried a bunch) of the -I's I've tried to get dinput.h to lead to a valid bunch of includes has failed.

Any clues on that front?

Thanks,
Dale.
2  Java Game APIs & Engines / JInput / Getting the test suite to run on: 2004-07-26 00:45:46
I think I've done all the acrobatics to get things compiled and placed where they belong yet still I get

    [java] Controller Env = net.java.games.input.DefaultControllerEnvironment@1004901
    [java] Scanning jar: dxinput.jar
    [java] Examining file : META-INF/
    [java] Examining file : META-INF/MANIFEST.MF
    [java] Examining file : net/
    [java] Examining file : net/java/
    [java] Examining file : net/java/games/
    [java] Examining file : net/java/games/input/
    [java] Examining file : net/java/games/input/DirectInputAxis.class
    [java] Examining file : net/java/games/input/DirectInputDevice.class
    [java] Examining file : net/java/games/input/DirectInputEnvironmentPlugin.class
    [java] Found candidate class: net/java/games/input/DirectInputEnvironmentPlugin.class
    [java] Adding class to plugins:net.java.games.input.DirectInputEnvironmentPlugin
    [java] Examining file : net/java/games/input/DirectInputKeyboard.class
    [java] Examining file : net/java/games/input/DirectInputMouse$BallAxis.class
    [java] Examining file : net/java/games/input/DirectInputMouse$BallImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse$ButtonImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse$ButtonsImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse.class
    [java] Examining file : net/java/games/input/DirectInputRumbler.class
    [java] java.lang.UnsatisfiedLinkError: getNumButtons
    [java]     at net.java.games.input.DirectInputMouse.getNumButtons(Native Method)
    [java]     at net.java.games.input.DirectInputMouse.access$200(DirectInputMouse.java:50)
    [java]     at net.java.games.input.DirectInputMouse$ButtonsImpl.<init>(DirectInputMouse.java:183)
    [java]     at net.java.games.input.DirectInputMouse.<init>(DirectInputMouse.java:88)
    [java]     at net.java.games.input.DirectInputMouse.createMouse(DirectInputMouse.java:146)
    [java]     at net.java.games.input.DirectInputEnvironmentPlugin.addDevice(DirectInputEnvironmentPlugin.java:159)
    [java]     at net.java.games.input.DirectInputEnvironmentPlugin.enumDevices(Native Method)
    [java]     at net.java.games.input.DirectInputEnvironmentPlugin.enumControllers(DirectInputEnvironmentPlugin.java:1
33)
    [java]     at net.java.games.input.DirectInputEnvironmentPlugin.<init>(DirectInputEnvironmentPlugin.java:113)
    [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    [java]     at java.lang.Class.newInstance0(Class.java:306)
    [java]     at java.lang.Class.newInstance(Class.java:259)
    [java]     at net.java.games.input.DefaultControllerEnvironment.scanControllersAt(DefaultControllerEnvironment.java
:208)
    [java]     at net.java.games.input.DefaultControllerEnvironment.scanControllers(DefaultControllerEnvironment.java:1
89)
    [java]     at net.java.games.input.DefaultControllerEnvironment.access$000(DefaultControllerEnvironment.java:58)
    [java]     at net.java.games.input.DefaultControllerEnvironment$1.run(DefaultControllerEnvironment.java:109)
    [java]     at java.security.AccessController.doPrivileged(Native Method)
    [java]     at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:10
7)
    [java]     at net.java.games.input.test.ControllerTextTest.<init>(ControllerTextTest.java:54)
    [java]     at net.java.games.input.test.ControllerTextTest.main(ControllerTextTest.java:86)
    [java] Exception in thread "main"
when I try to use ant to run any of the tests.  Any clue which wrong turn I made?

Thanks,
Dale.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (33 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (65 views)
2014-11-07 19:57:14

TehJavaDev (69 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (82 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!