HELP...

Started by cloudyyard, December 08, 2015, 21:06:48

Previous topic - Next topic

cloudyyard

Hello everyone,
i have instaled the LWJGL, with this tutorial: http://wiki.lwjgl.org/wiki/Setting_Up_LWJGL_with_Eclipse
and i COPY/PASTE the Example of the SImple Display but, the eclipse not reconize this imports:
import org.lwjgl.LWJGLException;
import org.lwjgl.opengl.Display;
import org.lwjgl.opengl.DisplayMode;


help please.... ???

bobjob

The Display class is found in version 2 of LWJGL http://legacy.lwjgl.org/download.php

try using this instead of version 3 if the tutorials require the Display class

cloudyyard

I'm using the latest version of LWJGL.

Kai

What bobjob meant was that this particular tutorial applies to LWJGL 2.x and 2.x _only_. It will not work with LWJGL 3. The versions 2.x and 3 of LWJGL are incompatible to each other.
That tutorial was written long ago and it should of course now be noted on those tutorials, that they do only apply to LWJGL 2.x, at least the ones hosted under the lwjgl.org domain.
In your case of using LWJGL 3, please have a look at the Getting Started guide on the lwjgl.org homepage: https://www.lwjgl.org/guide

cloudyyard

Thank you, now is working!!
is the version, i'm using an Example for the version 2 of LWJGL but i have the verison 3!...
Thanks for the HELP!!