You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am running into a really weird issue on linux(Ubuntu) with GLFW.
When I use glfwInit() it fails and says 65544: Wayland: Failed to connect to display
Then I tried using wl_display_connect (wayland-client.h) and it also returned NULL.
Not sure what is going on but when i check in the terminal wayland is working properly.
I might be doing something stupid here but can you please see what could be the issue?
The text was updated successfully, but these errors were encountered:
I got the same error when my app doesn't find the right libglfw.so
I have version 3.2 installed system-wide and got the same error as you with it.
Putting libglfw.so.3.1 in the library search path fixes the issue.
Of course, the path order should precedes system's one.
In my case, I set the RPATH to $ORIGIN/lib and put libglfw.so.3.1 in the lib folder.
Hello, I am running into a really weird issue on linux(Ubuntu) with GLFW.
When I use
glfwInit()
it fails and says65544: Wayland: Failed to connect to display
Then I tried using
wl_display_connect
(wayland-client.h
) and it also returnedNULL
.Not sure what is going on but when i check in the terminal wayland is working properly.
I might be doing something stupid here but can you please see what could be the issue?
The text was updated successfully, but these errors were encountered: