opencv_core246.lib(gl_core_3_1.obj) : error LNK2001: unresolved external symbol __imp_wglGetProcAddress

asked 2013-08-14 15:53:56 -0500

bccopencv gravatar image

updated 2013-08-15 04:34:37 -0500

I built OpenCV 2.4.6 from source and that built fine. Next I try to incorporate it in my application and upon doing so I get the link error:

opencv_core246.lib(gl_core_3_1.obj) : error LNK2001: unresolved external symbol __imp_wglGetProcAddress

Has anyone seen this and have an idea on how to fix it?

Thanks in advance!

edit retag flag offensive close merge delete

Comments

1

Check CMake variables OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2013-08-18 06:31:55 -0500 )edit