M
M
Michael2018-02-06 18:15:18
C++ / C#
Michael, 2018-02-06 18:15:18

Why does it give an error when accessing GLEW?

Hello. Please help me understand why GLEW does not work.
In general, I include glew and glfw.
GLFW connects and works fine, I compile the project via makefile.
BUT, if I try to check if glew is running, the project will compile, but on startup it will throw an error - Segmentation fault: 11
I tried to google the answer both here and on stackoverflow...
5a79c457c90b8408063206.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Movchan, 2018-02-06
@Anbu_Dev

Before GLEW is initialized, an OpenGL context must be created .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question