From: <yz...@cc...> - 2002-06-08 16:16:14
|
Hello, I use the dynamic library of Mesa-4.0.2, and it works well. However, I want to compile Mesa-4.0.2 into static library. I change some setting of several Makefile.win, and the static library is compiled without errors and extra warnings. But the compilation of programs in book, demos and samples all generates the following errors. I also try to compile Mesa-3.1, which has "allstatic" compilation option. It also generates the same errors when compiling those demo programs. The changes of Makefile.win I made are based on the "allstatic" option of Mesa-3.1. Does anyone know how to solve the problem ? Thanks very much! ================================================================== MesaGlut.lib(glut_swap.obj) : error LNK2001: unresolved external symbol __imp__wglSwapBuffers@4 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentDC@0 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentContext@0 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglSetPixelFormat@12 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglChoosePixelFormat@8 MesaGlut.lib(win32_glx.obj) : error LNK2001: unresolved external symbol __imp__wglChoosePixelFormat@8 MesaGlut.lib(glut_win.obj) : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4 MesaGlut.lib(win32_x11.obj) : error LNK2001: unresolved external symbol __imp__wglDescribePixelFormat@16 MesaGlut.lib(win32_glx.obj) : error LNK2001: unresolved external symbol __imp__wglDescribePixelFormat@16 MesaGlut.lib(win32_x11.obj) : error LNK2001: unresolved external symbol __imp__wglGetPixelFormat@4 MesaGlut.lib(win32_glx.obj) : error LNK2001: unresolved external symbol __imp__wglCreateContext@4 |