I've set up a library (with source and javadoc attachments), but my GUI declares that it is confused about what "glfwGetKey" means.
What do I have to do to get it to recognize?
(https://s6.postimg.org/coe3ls9u9/glfw.png)
In LWJGL Window Data Stores in float not in int
private long windowHandle;
Not
private int windowHandle;
And you forget to add this libraries{
lwjgl-glfw-natives-windows.jar
lwjgl-opengl-natives-windows.jar
}
You also need to "import static" those libraries instead of just regular imports. All the GLFW methods are static methods and the constants are public static finals.
Thanks guys, your assistance made a success.
I added the glfw native jar to my library and used import static.
(https://s6.postimg.org/6js3oy501/importstatic.png)
That import line though... glfw.GLFW.glfw...