My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Example_SDL  
JNLP Test application for SDL
Updated Dec 13, 2009 by john.douglas.pritchard
JNLP test application for SDL joystick.
See sdljava.sf.net, and www.libsdl.org
Basic command line test of SDL joystick,
test/src/test/Main.java.

Build and Test

In the sdl/test directory, run
  ant 
in a Java 1.5 or better environment.
Then, run
 java -jar ../web/sdl-test-loader-*.jar ../web

Results

solaris-sparc

SDL Version 1.2.13
SDL found 0 joysticks
SDL doesn't support joystick on solaris. It configures to "dummy" code.
This test finds keyboard events on SDL_INIT_VIDEO.

Current Natives Included

  1. SunOS sparc

Files & Directories

java

          o java
                + sdljava-0.9.1
Current working directory for sdljava
The file
                    - src/sdljava/native/Makefile
needs to be edited for a native build.
On SunOS, use the Sun Pro CC in the JDS Build environment.
In
                    - src/sdljava/native/
run make for product dynamic library written to top directory sdljava-M.N.P/lib.

libc

          o libc
                + SDL-1.2.14
Current working directory for libsdl
Run
                     configure; make; make install
before building the sdljava native.
Try to build sdljava, SDL may be installed already.

licenses

Licenses for libsdl and sdljava

natives

          o natives
                + linux
                + macosx
                + solaris
                + windows
Accumulated natives in project structure
Drop a native lib set into the natives dir, e.g., solaris/sparc, and run
                          ./package.sh
to replicate into ../web for testing.

test

          o test
                + lib
                + loader
                + src
                + ver
Test project

web

Project structure consolidates all resources

Sign in to add a comment
Powered by Google Project Hosting