Error LNK2001 unresolved external symbol

41 views Asked by At

*I have seen many topics on this but it did not help me.

I am getting errors from the code:

enter image description here

I have seen many topics on this and I did everything on the answers. Here is my includes:

#ifndef _OPENGL_INCLUDES
#define _OPENGL_INCLUDES

#include <GL/glew.h>
#include <gl/gl.h>
#include <GL/glut.h>


#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#pragma comment(lib, "glew32.lib")
#endif

On Linker -> Input I have glew32.lib enter image description here

In addition I put the glew32.lib file in:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib and C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\Release\x64

I have glew32.dll on System32 so why am I keep getting this error? What have I missed?

0

There are 0 answers