I've already read many answers that wanted to solve this issue but none of them work. I don't think I'm missing anything:
H:\#DEV\OpenGL\glew-1.12.0\include
H:\#DEV\OpenGL\glew-1.12.0\lib
glew32s.lib
(I also
tried glew32.lib
)H:\#DEV\OpenGL\glew-1.12.0\lib\Release\Win32
. I have permission to access the file, I didn't specify a dll since I want to use only the static version. I also tried:
#define GLEW_STATIC
before #include
and #pragma comment(linker, "/NODEFAULTLIB:libc.lib")
to no avail.
Visual Studio doesn't look into the subfolders of the directories you specified in
Additional Library Directories
.
That means that you have to add the exact path where the library is stored
(which would be in your case H:\#DEV\OpenGL\glew-1.12.0\lib\Release\Win32
).