k thx for the quick reply, but what do i need directX sdk for? i thought bzflag was built with OpenGL (just wondering, it's a hefty download..)
argh, i hate this, after moving file after file from directory to directory getting everything to work, i get these linker errors
Code: Select all
Linking...
bzflag.obj : error LNK2019: unresolved external symbol __imp__GetUserNameA@8 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)" (?setDefaultResolution@WinDisplay@@QAE_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__SetWindowLongA@12 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(void)" (?setFullscreen@WinWindow@@UAEXXZ)
platform.lib(WinWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function "public: virtual void __thiscall WinWindow::setFullscreen(void)" (?setFullscreen@WinWindow@@UAEXXZ)
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__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__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
..\..\src\bzflag\debug\bzflag.exe : fatal error LNK1120: 52 unresolved externals
what am i doing wrong?
Could this tank perhaps go a little bit faster, so it's not being overtaken by stationary objects.
"Words in parentheses can (not) be ignored." -Unknown