LWJGL
May 22, 2012, 04:43:52 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Problem with installation  (Read 1270 times)
HoLyVieR
Newbie
*
Posts: 1


« on: December 08, 2009, 17:57:52 »

I have download the installation file and ran the test to see if everything was working properly and I got multiple error and problem.

This is what it display me instead of the output it's suppose to normally do :

Code:
The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Found 96 display modes
Problem retrieving mode with 640x480x24@-1
Problem retrieving mode with 800x600x24@-1
Problem retrieving mode with 1024x768x24@-1

Also, the display window is transparent (the graphic display is just the rendering of the application I have under) and the fullscreen mode is making the test window crash with this error :

Code:
org.lwjgl.LWJGLException: Could not make context current
        at org.lwjgl.opengl.WindowsContextImplementation.nMakeCurrent(Native Method)
        at org.lwjgl.opengl.WindowsContextImplementation.makeCurrent(WindowsContextImplementation.java:90)
        at org.lwjgl.opengl.Context.makeCurrent(Context.java:182)
        at org.lwjgl.opengl.Display.makeCurrent(Display.java:714)
        at org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval(Display.java:866)
        at org.lwjgl.opengl.Display.setDisplayModeAndFullscreenInternal(Display.java:536)
        at org.lwjgl.opengl.Display.setFullscreen(Display.java:499)
        at org.lwjgl.test.WindowCreationTest.handleInput(WindowCreationTest.java:228)
        at org.lwjgl.test.WindowCreationTest.execute(WindowCreationTest.java:128)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:285)
Exception in thread "main" java.lang.NullPointerException
        at org.lwjgl.opengl.GL11.glClearColor(GL11.java:566)
        at org.lwjgl.test.WindowCreationTest.render(WindowCreationTest.java:254)
        at org.lwjgl.test.WindowCreationTest.execute(WindowCreationTest.java:131)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:285)

Note: I got no clue if this could be affecting the librairy, but I have a dual screen setup and both screen have different resolution. I'm running under Windows XP.
Logged
Fool Running
Nerdus Imperius
*****
Posts: 647


« Reply #1 on: December 09, 2009, 05:32:53 »

What graphics card do you have? Have you updated your drivers?

The first thing you posted is normal. The second (the crash) is not normal Wink
Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!