Open GamesOpenSource opened 5 years ago
I can build this (had to switch glut to freeglut - maybe that is a problem?) but I can't run it:
$ ./graphics_asgn1 Error: GLX: Failed to create context: GLXBadFBConfig graphics_asgn1: /build/glfw/src/glfw-3.3/src/posix_thread.c:62: _glfwPlatformGetTls: Assertion `tls->posix.allocated == GLFW_TRUE' failed. Aborted (core dumped)
I'm running manjaro in VirtualBox, perhaps that's the problem (thought after a glance at https://stackoverflow.com/questions/39213757/glfw-cannot-create-a-window-glx-failed-to-create-context-glxbadfbconfig/39214184 )
I have the same problem when try to use gitlab ci/cd for my small project which use GLFW. And i have manjaro too (KDE).
Solution: sudo pacman -S glfw-x11
sudo pacman -S glfw-x11
I can build this (had to switch glut to freeglut - maybe that is a problem?) but I can't run it:
I'm running manjaro in VirtualBox, perhaps that's the problem (thought after a glance at https://stackoverflow.com/questions/39213757/glfw-cannot-create-a-window-glx-failed-to-create-context-glxbadfbconfig/39214184 )