Hi, I'm working on learning OpenGL using Visual Studio 2005 and I ran into these errors:
1>circle.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>circle.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>circle.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
(sorry for the mess)
In any case, I keep looking it up and what people seem to be saying is that it's a library issue, and that i need to add the lib directory to additional library directories and the library itself to additional dependencies. I think i did that correctly:
/LIBPATH:"C:\glew\lib"...
glew32.lib kernel32.lib... etc
Thats from the command line section under linker, in the project properties. That IS where the libraries are located and glew32.lib IS the name of the library >.<
What am I missing?