LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 628 forks source link

Unable to create GLFW Window #984

Open Cube5x59999 opened 1 month ago

Cube5x59999 commented 1 month ago

Question

This is my first time using LWJGL to make a game, but it failed creating the window. but my other computer with the same specs can create a window like normal. what are the reasons which results in unable to create window?

knokko commented 2 weeks ago

I would recommend to try creating the minimal window, as shown in https://www.glfw.org/documentation.html

And could you be more specific about failed creating the window? What happens? Does glfwInit() return false? Does glfwCreateWindow return null?