EDN Admin
Well-known member
Hi Im getting these linker errors and I just cant seem to find anything that will work. Although I searched a few of the errors on here and heard that you need to add some addition depenecies so I went through of few of the search results and each one had a member that shared what depenencies I need to add so I did and I got rid of one section of the errors but theres still two more sections that still get these errors. I put the results below. If anyone at all can tell me what depenencies Im missing that would be great.
Thanks in advance, Daymer
Also if it helps, the program source that Im trying to compile is called BZFlag 2.0.10 (bzflag.org)
------ Build started: Project: bzflag, Configuration: Debug Win32 ------
Linking...
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
ares.lib(ares_init.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
bzflag.obj : error LNK2019: unresolved external symbol __imp__GetUserNameA@8 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExA@24 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegCreateKeyExA@36 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__PostMessageA@16 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinVisual.obj) : error LNK2001: unresolved external symbol __imp__ReleaseDC@8
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__ReleaseDC@8
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDeviceCaps@8 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__GetDeviceCaps@8
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinVisual.obj) : error LNK2001: unresolved external symbol __imp__GetDC@4
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__GetDC@4
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "public: virtual bool __thiscall WinDisplay::isEventPending(void)const " (?isEventPending@WinDisplay@@UBE_NXZ)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "private: bool __thiscall WinDisplay::windowsEventToBZFEvent(struct tagMSG &,class BzfEvent &)const " (?windowsEventToBZFEvent@WinDisplay@@ABE_NAAUtagMSG@@AAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "private: bool __thiscall WinDisplay::windowsEventToBZFEvent(struct tagMSG &,class BzfEvent &)const " (?windowsEventToBZFEvent@WinDisplay@@ABE_NAAUtagMSG@@AAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function "public: virtual bool __thiscall WinDisplay::getEvent(class BzfEvent &)const " (?getEvent@WinDisplay@@UBE_NAAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetKeyState@4 referenced in function "public: virtual void __thiscall WinDisplay::getModState(bool &,bool &,bool &)" (?getModState@WinDisplay@@UAEXAA_N00@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ChangeDisplaySettingsA@8 referenced in function "public: bool __thiscall WinDisplay::setDefaultResolution(void)const " (?setDefaultResolution@WinDisplay@@QBE_NXZ)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsA@12 referenced in function "private: class BzfDisplay::ResInfo * * __thiscall WinDisplay::getVideoFormats(int &,int &)" (?getVideoFormats@WinDisplay@@AAEPAPAVResInfo@BzfDisplay@@AAH0@Z)
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__DestroyWindow@4
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__ChoosePixelFormat@8 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetMapMode@8 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__RealizePalette@4 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SelectPalette@12 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "public: virtual __thiscall WinWindow::~WinWindow(void)" (??1WinWindow@@UAE@XZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: virtual void __thiscall WinWindow::showWindow(bool)" (?showWindow@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: virtual void __thiscall WinWindow::getPosition(int &,int &)" (?getPosition@WinWindow@@UAEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: virtual void __thiscall WinWindow::getSize(int &,int &)const " (?getSize@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowTextA@8 referenced in function "public: virtual void __thiscall WinWindow::setTitle(char const *)" (?setTitle@WinWindow@@UAEXPBD@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__MoveWindow@24 referenced in function "public: virtual void __thiscall WinWindow::setPosition(int,int)" (?setPosition@WinWindow@@UAEXHH@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__InvalidateRect@12 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowLongA@12 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function "public: virtual void __thiscall WinWindow::warpMouse(int,int)" (?warpMouse@WinWindow@@UAEXHH@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "public: virtual void __thiscall WinWindow::getMouse(int &,int &)const " (?getMouse@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "public: virtual void __thiscall WinWindow::getMouse(int &,int &)const " (?getMouse@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function "public: virtual void __thiscall WinWindow::grabMouse(void)" (?grabMouse@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function "public: virtual void __thiscall WinWindow::grabMouse(void)" (?grabMouse@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SwapBuffers@4 referenced in function "public: virtual void __thiscall WinWindow::swapBuffers(void)" (?swapBuffers@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__DescribePixelFormat@16 referenced in function "private: void __thiscall WinWindow::createChild(void)" (?createChild@WinWindow@@AAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetPixelFormat@12 referenced in function "private: void __thiscall WinWindow::createChild(void)" (?createChild@WinWindow@@AAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetDeviceGammaRamp@8 referenced in function "private: void __thiscall WinWindow::getGammaRamps(unsigned short *)" (?getGammaRamps@WinWindow@@AAEXPAG@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetDeviceGammaRamp@8 referenced in function "private: void __thiscall WinWindow::setGammaRamps(unsigned short const *)" (?setGammaRamps@WinWindow@@AAEXPBG@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "public: bool __thiscall WinWindow::activate(void)" (?activate@WinWindow@@QAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetPaletteEntries@16 referenced in function "private: void __thiscall WinWindow::makeColormap(struct tagPIXELFORMATDESCRIPTOR const &)" (?makeColormap@WinWindow@@AAEXABUtagPIXELFORMATDESCRIPTOR@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__CreatePalette@4 referenced in function "private: void __thiscall WinWindow::makeColormap(struct tagPIXELFORMATDESCRIPTOR const &)" (?makeColormap@WinWindow@@AAEXABUtagPIXELFORMATDESCRIPTOR@@@Z)
common.lib(ErrorHandler.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl printFatalError(char const *,...)" (?printFatalError@@YAXPBDZZ)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetMalloc@4 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumKeyExA@32 referenced in function _get_res_interfaces_nt
....srcbzflagdebugbzflag.exe : fatal error LNK1120: 57 unresolved externals
Build log was saved at "file://c
ocuments and SettingsOwnerDesktopbzflag-2.0.10bzflag-2.0.10srcbzflagdebugBuildLog.htm"
bzflag - 72 error(s), 0 warning(s)
------ Build started: Project: bzfs, Configuration: Debug Win32 ------
Linking...
Creating library .....srcbzfsdebugbzfs.lib and object .....srcbzfsdebugbzfs.exp
common.lib(ErrorHandler.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl printFatalError(char const *,...)" (?printFatalError@@YAXPBDZZ)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetMalloc@4 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumKeyExA@32 referenced in function _get_res_interfaces_nt
.....srcbzfsdebugbzfs.exe : fatal error LNK1120: 8 unresolved externals
Build log was saved at "file://c
ocuments and SettingsOwnerDesktopbzflag-2.0.10bzflag-2.0.10srcbzfsdebugBuildLog.htm"
bzfs - 15 error(s), 0 warning(s)
------ Build started: Project: bzadmin, Configuration: Debug Win32 ------
Linking...
LINK : .....srcbzadminDebug/bzadmin.exe not found or not built by the last incremental link; performing full link
Embedding manifest...
Build log was saved at "file://c
ocuments and SettingsOwnerDesktopbzflag-2.0.10bzflag-2.0.10srcbzadminDebugBuildLog.htm"
bzadmin - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 2 failed, 17 up-to-date, 0 skipped ==========
View the full article
Thanks in advance, Daymer
Also if it helps, the program source that Im trying to compile is called BZFlag 2.0.10 (bzflag.org)
------ Build started: Project: bzflag, Configuration: Debug Win32 ------
Linking...
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
ares.lib(ares_init.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
bzflag.obj : error LNK2019: unresolved external symbol __imp__GetUserNameA@8 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExA@24 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
bzflag.obj : error LNK2019: unresolved external symbol __imp__RegCreateKeyExA@36 referenced in function "int __cdecl myMain(int,char * *)" (?myMain@@YAHHPAPAD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function "public: __thiscall WinDisplay::Rep::Rep(char const *)" (??0Rep@WinDisplay@@QAE@PBD@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__PostMessageA@16 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "private: static long __stdcall WinDisplay::Rep::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@Rep@WinDisplay@@CGJPAUHWND__@@IIJ@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ReleaseDC@8 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinVisual.obj) : error LNK2001: unresolved external symbol __imp__ReleaseDC@8
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__ReleaseDC@8
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDeviceCaps@8 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__GetDeviceCaps@8
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDC@4 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinVisual.obj) : error LNK2001: unresolved external symbol __imp__GetDC@4
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__GetDC@4
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function "public: __thiscall WinDisplay::WinDisplay(char const *,char const *)" (??0WinDisplay@@QAE@PBD0@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "public: virtual bool __thiscall WinDisplay::isEventPending(void)const " (?isEventPending@WinDisplay@@UBE_NXZ)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "private: bool __thiscall WinDisplay::windowsEventToBZFEvent(struct tagMSG &,class BzfEvent &)const " (?windowsEventToBZFEvent@WinDisplay@@ABE_NAAUtagMSG@@AAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "private: bool __thiscall WinDisplay::windowsEventToBZFEvent(struct tagMSG &,class BzfEvent &)const " (?windowsEventToBZFEvent@WinDisplay@@ABE_NAAUtagMSG@@AAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function "public: virtual bool __thiscall WinDisplay::getEvent(class BzfEvent &)const " (?getEvent@WinDisplay@@UBE_NAAVBzfEvent@@@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__GetKeyState@4 referenced in function "public: virtual void __thiscall WinDisplay::getModState(bool &,bool &,bool &)" (?getModState@WinDisplay@@UAEXAA_N00@Z)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__ChangeDisplaySettingsA@8 referenced in function "public: bool __thiscall WinDisplay::setDefaultResolution(void)const " (?setDefaultResolution@WinDisplay@@QBE_NXZ)
platform.lib(WinDisplay.obj) : error LNK2019: unresolved external symbol __imp__EnumDisplaySettingsA@12 referenced in function "private: class BzfDisplay::ResInfo * * __thiscall WinDisplay::getVideoFormats(int &,int &)" (?getVideoFormats@WinDisplay@@AAEPAPAVResInfo@BzfDisplay@@AAH0@Z)
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__DestroyWindow@4
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__ChoosePixelFormat@8 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinVisual.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "public: virtual bool __thiscall WinVisual::build(void)" (?build@WinVisual@@UAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetMapMode@8 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__RealizePalette@4 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SelectPalette@12 referenced in function "public: __thiscall WinWindow::WinWindow(class WinDisplay const *,class WinVisual *)" (??0WinWindow@@QAE@PBVWinDisplay@@PAVWinVisual@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "public: virtual __thiscall WinWindow::~WinWindow(void)" (??1WinWindow@@UAE@XZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: virtual void __thiscall WinWindow::showWindow(bool)" (?showWindow@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: virtual void __thiscall WinWindow::getPosition(int &,int &)" (?getPosition@WinWindow@@UAEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: virtual void __thiscall WinWindow::getSize(int &,int &)const " (?getSize@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowTextA@8 referenced in function "public: virtual void __thiscall WinWindow::setTitle(char const *)" (?setTitle@WinWindow@@UAEXPBD@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__MoveWindow@24 referenced in function "public: virtual void __thiscall WinWindow::setPosition(int,int)" (?setPosition@WinWindow@@UAEXHH@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__InvalidateRect@12 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowLongA@12 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(bool)" (?setFullscreen@WinWindow@@UAEX_N@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetCursorPos@8 referenced in function "public: virtual void __thiscall WinWindow::warpMouse(int,int)" (?warpMouse@WinWindow@@UAEXHH@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "public: virtual void __thiscall WinWindow::getMouse(int &,int &)const " (?getMouse@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "public: virtual void __thiscall WinWindow::getMouse(int &,int &)const " (?getMouse@WinWindow@@UBEXAAH0@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__ClipCursor@4 referenced in function "public: virtual void __thiscall WinWindow::grabMouse(void)" (?grabMouse@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function "public: virtual void __thiscall WinWindow::grabMouse(void)" (?grabMouse@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SwapBuffers@4 referenced in function "public: virtual void __thiscall WinWindow::swapBuffers(void)" (?swapBuffers@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__DescribePixelFormat@16 referenced in function "private: void __thiscall WinWindow::createChild(void)" (?createChild@WinWindow@@AAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetPixelFormat@12 referenced in function "private: void __thiscall WinWindow::createChild(void)" (?createChild@WinWindow@@AAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetDeviceGammaRamp@8 referenced in function "private: void __thiscall WinWindow::getGammaRamps(unsigned short *)" (?getGammaRamps@WinWindow@@AAEXPAG@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetDeviceGammaRamp@8 referenced in function "private: void __thiscall WinWindow::setGammaRamps(unsigned short const *)" (?setGammaRamps@WinWindow@@AAEXPBG@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "public: bool __thiscall WinWindow::activate(void)" (?activate@WinWindow@@QAE_NXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__SetPaletteEntries@16 referenced in function "private: void __thiscall WinWindow::makeColormap(struct tagPIXELFORMATDESCRIPTOR const &)" (?makeColormap@WinWindow@@AAEXABUtagPIXELFORMATDESCRIPTOR@@@Z)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__CreatePalette@4 referenced in function "private: void __thiscall WinWindow::makeColormap(struct tagPIXELFORMATDESCRIPTOR const &)" (?makeColormap@WinWindow@@AAEXABUtagPIXELFORMATDESCRIPTOR@@@Z)
common.lib(ErrorHandler.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl printFatalError(char const *,...)" (?printFatalError@@YAXPBDZZ)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetMalloc@4 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumKeyExA@32 referenced in function _get_res_interfaces_nt
....srcbzflagdebugbzflag.exe : fatal error LNK1120: 57 unresolved externals
Build log was saved at "file://c

bzflag - 72 error(s), 0 warning(s)
------ Build started: Project: bzfs, Configuration: Debug Win32 ------
Linking...
Creating library .....srcbzfsdebugbzfs.lib and object .....srcbzfsdebugbzfs.exp
common.lib(ErrorHandler.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl printFatalError(char const *,...)" (?printFatalError@@YAXPBDZZ)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetMalloc@4 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
game.lib(DirectoryNames.obj) : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl getConfigDirName(char const *)" (?getConfigDirName@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBD@Z)
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _init_by_resolv_conf
ares.lib(ares_gethostbyaddr.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_gethostbyname.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyExA@20
ares.lib(ares_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumKeyExA@32 referenced in function _get_res_interfaces_nt
.....srcbzfsdebugbzfs.exe : fatal error LNK1120: 8 unresolved externals
Build log was saved at "file://c

bzfs - 15 error(s), 0 warning(s)
------ Build started: Project: bzadmin, Configuration: Debug Win32 ------
Linking...
LINK : .....srcbzadminDebug/bzadmin.exe not found or not built by the last incremental link; performing full link
Embedding manifest...
Build log was saved at "file://c

bzadmin - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 2 failed, 17 up-to-date, 0 skipped ==========
View the full article