ramkishore07s / boat-simulation

Simple boat game using OpenGL
0 stars 1 forks source link

can't run on manjaro linux #1

Open GamesOpenSource opened 5 years ago

GamesOpenSource commented 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 )

dynaevdv commented 3 years ago

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).

WiktorJanecki commented 3 years ago

Solution: sudo pacman -S glfw-x11