Hi,
I have a VC++ program which uses OpenGL functions. The program works well under debug version. But if I build it in release version. It won’t compile and gives some link errors:
error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
error LNK2001: unresolved external symbol __imp__wglCreateContext@4
error LNK2001: unresolved external symbol __imp__glColor3f@12
What is the reason for this error? And how to fix it?
Thanks!