HelloWorld!

Started by vijaymgandhi, July 06, 2004, 21:05:20

Previous topic - Next topic

vijaymgandhi

Hi,

This is the first time I am using LWJGL. And, I am not able to do a simple "Hello World"  :( . I am trying to create a Window using this snippet:

try
{
   Window.create("HelloWorld");
}
catch (Exception e)
{
   e.printStackTrace();
}


It gives me this error:

rg.lwjgl.LWJGLException: Mode not supported by hardware

   at org.lwjgl.opengl.Window.nCreate(Native Method)

   at org.lwjgl.opengl.Window.createWindow(Unknown Source)

   at org.lwjgl.opengl.Window.create(Unknown Source)

   at org.lwjgl.opengl.Window.create(Unknown Source)

   at mypackage1.Class1.main(Class1.java:27)



Any idea what I am doing wrong? I am using version 0.9 of LWJGL.

Thanks,
Vijay.

cfmdobbie

Sounds like you don't have an OpenGL-compatible graphics card, or if you do that your drivers aren't installed properly.

What operating system, graphics card and graphics card drivers are you using?
ellomynameis Charlie Dobbie.