Trying to compile OpenSees1.7.3 I keep getting these error messages after the entire code has run through:
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__EndPaint@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__BeginPaint@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__SetPixelFormat@12 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__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__ChoosePixelFormat@8 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)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "int __cdecl oglCreateBitmap(int,int,struct HGLRC__ * *,struct HDC__ * *,struct HBITMAP__ * *,struct tagBITMAPINFO *,unsigned char * *)" (?oglCreateBitmap@@YAHHHPAPAUHGLRC__@@PAPAUHDC__@@PAPAUHBITMAP__@@PAUtagBITMAPINFO@@PAPAE@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__CreateDIBSection@24 referenced in function "int __cdecl oglCreateBitmap(int,int,struct HGLRC__ * *,struct HDC__ * *,struct HBITMAP__ * *,struct tagBITMAPINFO *,unsigned char * *)" (?oglCreateBitmap@@YAHHHPAPAUHGLRC__@@PAPAUHDC__@@PAPAUHBITMAP__@@PAUtagBITMAPINFO@@PAPAE@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "int __cdecl oglCreateBitmap(int,int,struct HGLRC__ * *,struct HDC__ * *,struct HBITMAP__ * *,struct tagBITMAPINFO *,unsigned char * *)" (?oglCreateBitmap@@YAHHHPAPAUHGLRC__@@PAPAUHDC__@@PAPAUHBITMAP__@@PAUtagBITMAPINFO@@PAPAE@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "int __cdecl oglDestroyBitmap(struct HBITMAP__ * *,struct HGLRC__ *,struct HDC__ *)" (?oglDestroyBitmap@@YAHPAPAUHBITMAP__@@PAUHGLRC__@@PAUHDC__@@@Z)
renderer.lib(OpenGlDevice.obj) : error LNK2019: unresolved external symbol __imp__SwapBuffers@4 referenced in function "public: virtual void __thiscall OpenGlDevice::ENDIMAGE(void)" (?ENDIMAGE@OpenGlDevice@@UAEXXZ)
.\..\..\bin/openSees.exe : fatal error LNK1120: 21 unresolved externals
Does anyone know what kind of mistake I'm making?
Thanks
error compiling 1.7.3
Moderators: silvia, selimgunay, Moderators
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact: