[Solved] Compilation problem with Windows 7 64 bits

Hello…

I have Windows 7 64bits RC (free for one year :p)



But when i want to compile my project with eclipse (3.4.2), i take this :


GRAVE: Exception
org.lwjgl.LWJGLException: Pixel format not accelerated
   at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
   at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
   at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:174)
   at org.lwjgl.opengl.Display.createWindow(Display.java:308)
   at org.lwjgl.opengl.Display.create(Display.java:839)
   at org.lwjgl.opengl.Display.create(Display.java:767)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:426)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
   at com.toria.nexclient.graphic.core.AbstractGraphicCore.initSystem(AbstractGraphicCore.java:121)
   at com.jme.app.BaseGame.start(BaseGame.java:70)
   at com.toria.nexclient.Main.main(Main.java:11)
24 juil. 2009 00:32:07 com.toria.nexclient.graphic.core.AbstractGraphicCore initSystem
GRAVE: Could not create displaySystem
com.jme.system.JmeException: Cannot create window: Pixel format not accelerated
   at com.jme.system.lwjgl.LWJGLDisplaySystem.initDisplay(LWJGLDisplaySystem.java:444)
   at com.jme.system.lwjgl.LWJGLDisplaySystem.createWindow(LWJGLDisplaySystem.java:143)
   at com.toria.nexclient.graphic.core.AbstractGraphicCore.initSystem(AbstractGraphicCore.java:121)
   at com.jme.app.BaseGame.start(BaseGame.java:70)
   at com.toria.nexclient.Main.main(Main.java:11)



Some idea to solve problem ? I have last lwjgl 32 and 64 bits

Looks like you're missing proper video card drivers. Depending on your video card, you can download drivers here:

http://www.nvidia.com/

http://ati.amd.com/

http://downloadcenter.intel.com/

I don't think, games work fine… but i'm trying to update driver this night

Games probably work fine because they use DirectX, but an OpenGL implementation must be provided by the driver for OpenGL programs to work.

Do you have the 64-bit version of LWJGL.dll?

LWJGL2.1 supports 64 bit for all platforms. The latest SVN version of jME2 and jME3 use LWJGL2.1.

Solved !!



It was my drivers. I dowloaded drivers from nvidia web site and install it fix my problem.

Work like charm in 32 & 64 bits versions :slight_smile:



Thank !