From: jts <jia...@si...> - 2007-08-20 13:07:05
|
Hi, I got a static lib of Mesa :opengl32.lib,but Functions:wglDeleteContext,wglMakeCurrent,wglCreateContext do not work. When I link apps of win32 with opengl32.lib,errors as below: Linking... winspin.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4 winspin.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8 winspin.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4 Release/win32spin.exe : fatal error LNK1120: 3 unresolved externals I modify project (.dsp) files from DLL to Static Library, and as above, change WGLAPI to extern, fix gl.h, glheader.h. how to add the implementations of the three functions to opengl32.lib ? Thanks, Jts -- View this message in context: http://www.nabble.com/Static-library-of-Mesa-on-Windows--tf4202421.html#a12176465 Sent from the mesa3d-users mailing list archive at Nabble.com. |