lwjgl runtime difficulty

okay, ive got the new lwjgl 0.5, and set it up. it compiles, and everything.

first i ran the program “Rotating Square” off the sourcefrge site. and i said that it couldnt make a display mode at 75 hz, which i can understand, because my monitor only goes at 60 hz.

but then i made sure it went a 60 hz, and it still couldnt launch the program. then i reinstalled version 0.4, and it worked fine.

So i am guessing that u guys are still working out all the bugs in this wrapper? and that 0.4 is the most stable release?

The tutorials may not have the title of the application/gl window as a argument. This is new to 0.5 and you need to add it

Display.create(displayMode, true, displayName);

in the tutorials I read this was :

Display.create(displayMode, true);

good luck!

i added the title of the application window. it wont compile without doing that. which is why this topic is called Runtime difficulties. nto compilation difficulties.

I think we should start really tidying LWJGL up now and getting some seriously good documentation together.

Any volunteers to help witht the docco?

Cas :slight_smile:

i would, but i have no idea what any of the methods do

which is why lwjgl needs a good documentation

Could you be more specific on your problem - a stack trace or something? (and system specs would be nice too)

  • elias

[quote]i would, but i have no idea what any of the methods do

which is why lwjgl needs a good documentation
[/quote]
yea… i didnt even tried it cuz i dont have enough time to read all threads about it… and i really hate to ask stuff wich rtfm would solve - too bad if the ‘m’ itself isnt written yet :]

like the very basic stuff… getting started… ~90% of the ppl who would like to start with lwjgl hasnt used an external lib before. why is it so hard to get some info bout setting it up? (actually i hadnt found any info bout that at all - i read summin bout that in an xml book).

tbh getting started with c++ and opengl is easier right now :]

[quote]Could you be more specific on your problem - a stack trace or something? (and system specs would be nice too)

  • elias
    [/quote]
    Specs:

Windows 2k
512 mb SDRAM
1000+ AMD Athlon
SyncMaster 17 Gli Monitor (60 hz max refresh)
20 gb hd
NVidia VRAM

Anything else you want to know?

And for stack trace, u mean the error it gave me?

if yes: Failed to create Display because of Exception. 640x400, at @16bit, @60hz , @0stencil,

What about alpha? I had problems with the 0.5 because it couldn’t get alpha for the frame buffer. In the latest CVS version this works though.

Yeah, the error also said: @0alpha.