Hello Guest

LWJGL 1.0 beta2 Released

  • 28 Replies
  • 38260 Views
*

Offline Matzon

  • *****
  • 2242
LWJGL 1.0 beta2 Released
« Reply #15 on: July 26, 2006, 06:46:54 »
I'll add these binries for beta 3.
Thanks for your hard work numberR!!

LWJGL 1.0 beta2 Released
« Reply #16 on: July 27, 2006, 06:57:05 »
thanks.

i modified the code as described before and compiled on Linux (FC5) to see if that would work on Linux as well as Mac OS X.
it seems that it won't work on Linux if you make that change.
it seems to work only on Mac OS X.
(dlopen on Linux does not look for library in current directory?)

so, if you are planning to incorporate that change,
you may want to do the modification just for Mac OS X, maybe using #ifdef for Mac OS X.

Display.destroy() crashes lwjgl (and the vm)
« Reply #17 on: July 28, 2006, 10:27:28 »
calling Display.destroy() crashes my lwjgl ... this may be due to the fact that i running the modularized X.org 7.0-r1 (on gentoo)

java crashes with this message:
Quote
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x99be16de, pid=16438, tid=2582830000
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C  [libX11.so.6+0x536de]  XDestroyIC+0x1e
#
# An error report file with more information is saved as hs_err_pid16519.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


i'll attach the hs_err_pid ... aah ... i can't attach anything ... it can be viewed here: http://www.fhaust.de/downloads/hs_err_pid16519.log

any ideas anyone?

Greets ... Golly

*

Offline Matzon

  • *****
  • 2242
LWJGL 1.0 beta2 Released
« Reply #18 on: July 28, 2006, 10:47:04 »
nasty - this is something for elias 8) - or someone with linux experience!

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
LWJGL 1.0 beta2 Released
« Reply #19 on: July 31, 2006, 01:12:22 »
Can you post a test program that crashes? Or does it crash with one of the LWJGL tests?

 - elias

LWJGL 1.0 beta2 Released
« Reply #20 on: July 31, 2006, 10:46:06 »
org.lwjgl.test.opengl.Gears -> crashes on shutdown
org.lwjgl.test.opengl.VBOTest -> crashes on shutdown
org.lwjgl.test.opengl.FullScreenWindowedTest -> crashes on startup :( (guess this is not related)

-> yes ... lwjgl tests are running but crash on shutdown (which btw removes the 'key repeater' for the rest of the system)

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
LWJGL 1.0 beta2 Released
« Reply #21 on: July 31, 2006, 11:32:24 »
Can you post the crash trace for the FullScreenWindowedTest? I think I fixed the crash on shutdown.

 - elias

LWJGL 1.0 beta2 Released
« Reply #22 on: August 01, 2006, 10:15:55 »
Quote
florian@faust ~/workspace/libs/lwjgl-1.0beta2/jar $ java -cp lwjgl.jar:lwjgl_test.jar:lwjgl_util.jar -Djava.library.path=../native/linux/ org.lwjgl.test.opengl.FullScreenWindowedTest
Change between fullscreen and windowed mode, by pressing F and W respectively
Move quad using arrowkeys, and change rotation using +/-
java.lang.NullPointerException
        at org.lwjgl.test.opengl.FullScreenWindowedTest.glInit(FullScreenWindowedTest.java:257)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.initialize(FullScreenWindowedTest.java:86)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.execute(FullScreenWindowedTest.java:73)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.main(FullScreenWindowedTest.java:273)
Exception in thread "main" java.lang.NullPointerException
        at org.lwjgl.test.opengl.FullScreenWindowedTest.processKeyboard(FullScreenWindowedTest.java:199)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.mainLoop(FullScreenWindowedTest.java:100)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.execute(FullScreenWindowedTest.java:74)
        at org.lwjgl.test.opengl.FullScreenWindowedTest.main(FullScreenWindowedTest.java:273)


here it is :)

LWJGL 1.0 beta2 Released
« Reply #23 on: August 01, 2006, 11:47:35 »
just another thing ...
when i try to compile lwjgl myself i get an an error saying that cc can't find jawt.h at the compile_native_linux target
Quote
 [apply] /home/florian/workspace/lwjgl/src/native/linux/org_lwjgl_opengl_Display.c:50:18: jawt.h: No such file or directory


in platform_build/linux_ant/build.xml it says
Quote
   <arg value="-I${java.home}/include"/>


and this
Quote
locate jawt.h
/opt/sun-jdk-1.4.2.12/include/jawt.h
/opt/sun-jdk-1.5.0.07/include/jawt.h

indicates that jawt.h is where cc is searching it ... replacing ${java.home} with the correct path doesn't help either ...

any ideas why it can't be found?

*

kevglass

LWJGL 1.0 beta2 Released
« Reply #24 on: August 04, 2006, 19:51:13 »
Any ideas on a beta3 release timescale?

Kev

*

Offline Matzon

  • *****
  • 2242
LWJGL 1.0 beta2 Released
« Reply #25 on: August 04, 2006, 21:47:10 »
it was going to be this weekend, then I hosed my windows installation, so I thought I'd change priorities a bit...
some time next week should be fine tho

LWJGL 1.0 beta2 Released
« Reply #26 on: August 09, 2006, 14:24:09 »
Any chance you'll do a wrapper for the jInput rumbler? ;)
I'd love to test my force feedback joystick, although I have a feeling the FF supoort in jInput isn't quite the same as the one supplied by DirectX, but you never know... ;)
igg -- Take me off for great justice?

LWJGL 1.0 beta2 Released
« Reply #27 on: August 16, 2006, 01:41:02 »
Hey,
how about adding a getButtonIndex for Controller,
this type of function exists for keyboards and mice, but not Controller, Controller only has getButtonName.

Also, getEventNanoseconds and a getEventButtonState for Controllers would be nice as well.
igg -- Take me off for great justice?

*

Offline Matzon

  • *****
  • 2242
LWJGL 1.0 beta2 Released
« Reply #28 on: August 16, 2006, 05:16:46 »
beta 3 is tagged and almost ready to go - the usual round of linux dissing me is preventing me with the release...