I
I
i3stone2021-11-09 00:29:47
C++ / C#
i3stone, 2021-11-09 00:29:47

Can't include glew.h library in Visual Studio 2019 Community C++?

Hey! I downloaded VS and...

#include <iostream>


#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>

int main() {
  glfwInit();
  return 0;
}


explain how I can get rid of the problem
"
Error C1083 Cannot open file include: GL/glew: No such file or directory
"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-11-09
@vabka

1. Must be in quotes, not in brackets
2. Where did you put these libraries so that the compiler can see them?

C
calculator212, 2021-11-10
@calculator212

https://ru.stackoverflow.com/questions/435064/%D0%... here you can look, but in general, as for VS, there is almost always a detailed guide / video on how to connect a specific lib.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question