I'm compiling OpenSees 1.7.3 with VC 2005 Express and Windows XP 2002 Home with SP2. I added VC2005noerr.cpp to the project and rebuilt all but I encountered the following error again:
Code: Select all
Linking...
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__EndPai nt@8 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__BeginPai nt@8 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "int __cdecl oglSetPixelFormat(struct HDC__ *,unsigned char,unsigned long)" (?oglSetPixelFormat@@YAHPAUHDC__@@EK@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassA@4 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function "struct HWND__ * __cdecl oglCreateWindow(char *,int,int,int,int,struct HGLRC__ * *,struct HDC__ * *)" (?oglCreateWindow@@YAPAUHWND__@@PADHHHHPAPAUHGLRC__@@PAPAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function "int __cdecl oglDestroyWindow(char *,struct HWND__ *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyWindow@@YAHPADPAUHWND__@@PAUHGLRC__@@PAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "int __cdecl oglDestroyWindow(char *,struct HWND__ *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyWindow@@YAHPADPAUHWND__@@PAUHGLRC__@@PAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "int __cdecl oglDestroyWindow(char *,struct HWND__ *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyWindow@@YAHPADPAUHWND__@@PAUHGLRC__@@PAUHDC__@@@Z)
.\..\..\bin/openSees.exe : fatal error LNK1120: 14 unresolved externals
Build log was saved at "file://c:\Program Files\OS\OpenSees_Rel\Win32\obj\openSees\debug\BuildLog.htm"
openSees - 15 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 22 up-to-date, 0 skipped ==========
Does anybody know what's wrong?
Thanks in advance.