My OS is fedora 23. I have the mesa-libGL-devel and glfw-devel libs both installed.
I compile the program from the bottom of this page http://www.glfw.org/docs/latest/quick.html with:
gcc main.c -lglfw -lGL -o thing
and it compiles no problem.
but when i ./thing i get:
Segmentation fault (core dumped)
What gives, do I not have all the needed libs installed?
!!!1111111!!!
I SOLVED THE PROBLEM!
I WAS ON GNOME WAYLAND AND I NEEDED ME TO BE ON GNOME X11!
SORRY ALL