GLEW not locating OpenGL functions on MSYS2
问题 I am trying to play with couple of OpenGL on my laptop. As the fastest method, I installed an MSYS2. I installed mingw-w64-x86_64-gcc , mingw-w64-x86_64-glew , mingw-w64-x86_64-glfw3 etc. I think I installed all the required packages. My programs are giving me segmentation fault as soon as I call an OpenGL routine. To make a minimal working example, I am copying the Hello, Triangle example from LearnOpenGL.com so that things will be kept small. I get the same problem in this program as well.