I get a 9 unresolved external symbol errors when I try to compile my VS 2015 C++ project. The errors occurred when I tried to compile GLEW as part of my project (using the source code). A Google search shows that this error is usually caused by missing OpenGL libraries, but I am already using SDL2, which, as far as I know, contains OpenGL in its source code. This is the output when I try to compile.
Error LNK2001 unresolved external symbol __imp__wglGetCurrentDC@0 glew.obj 1
Error LNK2001 unresolved external symbol __imp__wglGetProcAddress@4 glew.obj 1
Error LNK2001 unresolved external symbol __imp__glGetString@4 glew.obj 1
Error LNK2001 unresolved external symbol __imp__glGetIntegerv@8 glew.obj 1
Error LNK2001 unresolved external symbol __imp__wglCreateContext@4 glewinfo.obj 1
Error LNK2001 unresolved external symbol __imp__wglDeleteContext@4 glewinfo.obj 1
Error LNK2001 unresolved external symbol __imp__wglMakeCurrent@8 glewinfo.obj 1
Error LNK2001 unresolved external symbol __imp__wglGetCurrentContext@0 visualinfo.obj 1
Error LNK2001 unresolved external symbol _gluGetString@ 4visualinfo.obj 1
Error LNK1120 9 unresolved externals Executable.exe 1
If there is another library that I need to include in my project, where can I download it? Also, if there is, does it have source code? I would prefer to avoid .dlls if possible.
EDIT: This is not just a general example of an unresolved external symbol. I was asking about what libraries I would need to include to fix the error.