6/16/2023 0 Comments Java lwjgl setup eclipse![]() ![]() Throw new RuntimeException("Failed to create the GLFW window") Window = glfwCreateWindow(WIDTH, HEIGHT, "Hello World!", NULL, NULL) GlfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE) // the window will be resizable ![]() GlfwWindowHint(GLFW_VISIBLE, GLFW_FALSE) // the window will stay hidden after creation GlfwDefaultWindowHints() // optional, the current window hints are already the default Throw new IllegalStateException("Unable to initialize GLFW") Most GLFW functions will not work before doing this. GLFWErrorCallback.createPrint(System.err).set() will print the error message in System.err. Terminate GLFW and free the error callback Free the window callbacks and destroy the window ("Hello LWJGL " + Version.getVersion() + "!") Hey am trying to setup lwjgl for eclipse on ubuntu and i am having some problems need help i have added the lwjgl jar to the build path and poited it to the native folder but no luck when i try to run the test code provided on the site i get this error
0 Comments
Leave a Reply. |