Jump to content
  • Advertisement
Sign in to follow this  
livliv

Linker errors, Visual Studio Express 2005 Beta 2!

This topic is 4862 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I recently installed the Beta 2 of Visual Studio .NET Express 2005, and I tried to compile again my old DirectX game written for Beta 1. I obtained a lot of linker errors, that's the output of the compilation: ------ Build started: Project: Mario Pilota, Configuration: Debug Win32 ------ Linking... gameengine.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "public: void __thiscall CGame::GameLoop(void)" (?GameLoop@CGame@@QAEXXZ) video.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4 gameengine.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "public: void __thiscall CGame::GameLoop(void)" (?GameLoop@CGame@@QAEXXZ) video.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4 gameengine.obj : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "public: void __thiscall CGame::GameLoop(void)" (?GameLoop@CGame@@QAEXXZ) video.obj : error LNK2001: unresolved external symbol __imp__PeekMessageA@20 gameengine.obj : error LNK2019: unresolved external symbol __imp__ShowCursor@4 referenced in function "public: long __thiscall CGame::InitGeometry(void)" (?InitGeometry@CGame@@QAEJXZ) gameengine.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function "public: void __thiscall CGame::startGame(void)" (?startGame@CGame@@QAEXXZ) gameengine.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: void __thiscall CGame::startGame(void)" (?startGame@CGame@@QAEXXZ) video.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16 Input.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "public: long __thiscall CInputKeyb::InitDirectInput(struct HWND__ *)" (?InitDirectInput@CInputKeyb@@QAEJPAUHWND__@@@Z) varie.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16 3dmodel.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16 carmanager.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16 main.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z) main.obj : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z) main.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z) video.obj : error LNK2001: unresolved external symbol __imp__PostQuitMessage@4 main.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _WinMain@16 main.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@16 main.obj : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function _WinMain@16 main.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@16 Sound.obj : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function "public: long __thiscall CSoundManager::Initialize(struct HWND__ *,unsigned long)" (?Initialize@CSoundManager@@QAEJPAUHWND__@@K@Z) video.obj : error LNK2001: unresolved external symbol __imp__CoInitialize@4 Sound.obj : error LNK2019: unresolved external symbol __imp__CoUninitialize@0 referenced in function "public: long __thiscall CMidi::Play(void)" (?Play@CMidi@@QAEJXZ) Sound.obj : error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: long __thiscall CMidi::Play(void)" (?Play@CMidi@@QAEJXZ) video.obj : error LNK2001: unresolved external symbol __imp__CoCreateInstance@20 scena.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: void __thiscall C3DScena::setPresentationParams(struct _D3DPRESENT_PARAMETERS_ &,bool)" (?setPresentationParams@C3DScena@@QAEXAAU_D3DPRESENT_PARAMETERS_@@_N@Z) video.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8 scena.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "public: bool __thiscall C3DScena::toggleFullScreen(void)" (?toggleFullScreen@C3DScena@@QAE_NXZ) scena.obj : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: bool __thiscall C3DScena::toggleFullScreen(void)" (?toggleFullScreen@C3DScena@@QAE_NXZ) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetObjectA@12 referenced in function "public: virtual long __stdcall D3DXCore::CFont::GetDescA(struct _D3DXFONT_DESCA *)" (?GetDescA@CFont@D3DXCore@@UAGJPAU_D3DXFONT_DESCA@@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetObjectW@12 referenced in function "public: virtual long __stdcall D3DXCore::CFont::GetDescW(struct _D3DXFONT_DESCW *)" (?GetDescW@CFont@D3DXCore@@UAGJPAU_D3DXFONT_DESCW@@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetTextMetricsA@8 referenced in function "public: virtual int __stdcall D3DXCore::CFont::GetTextMetricsA(struct tagTEXTMETRICA *)" (?GetTextMetricsA@CFont@D3DXCore@@UAGHPAUtagTEXTMETRICA@@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetGlyphOutlineA@28 referenced in function "private: int __thiscall D3DXCore::CFont::ValidGlyph(unsigned int)" (?ValidGlyph@CFont@D3DXCore@@AAEHI@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateDIBSection@24 referenced in function "private: struct HBITMAP__ * __thiscall D3DXCore::CFont::CreateBitmap(struct tagSIZE const *,struct tagRGBQUAD * *)" (?CreateBitmap@CFont@D3DXCore@@AAEPAUHBITMAP__@@PBUtagSIZE@@PAPAUtagRGBQUAD@@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__DeleteDC@4 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__DeleteObject@4 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ) d3dx9.lib(cresource.obj) : error LNK2001: unresolved external symbol __imp__DeleteObject@4 d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SelectObject@8 referenced in function "public: __thiscall D3DXCore::CFont::~CFont(void)" (??1CFont@D3DXCore@@QAE@XZ) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetCharacterPlacementA@24 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetCharacterPlacementW@24 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetTextColor@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetBkColor@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetBkMode@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetTextMetricsW@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__GetFontLanguageInfo@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateFontIndirectA@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateFontIndirectW@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetTextAlign@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__SetMapMode@8 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__CreateCompatibleDC@4 referenced in function "public: long __thiscall D3DXCore::CFont::Initialize(struct IDirect3DDevice9 *,void const *,int)" (?Initialize@CFont@D3DXCore@@QAEJPAUIDirect3DDevice9@@PBXH@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__ExtTextOutA@32 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__MoveToEx@16 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z) d3dx9.lib(cfont.obj) : error LNK2019: unresolved external symbol __imp__ExtTextOutW@32 referenced in function "private: long __thiscall D3DXCore::CFont::Preload(unsigned short const *,int,struct D3DXCore::_D3DXFONT_CELL * *)" (?Preload@CFont@D3DXCore@@AAEJPBGHPAPAU_D3DXFONT_CELL@2@@Z) d3dx9.lib(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z) d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4 d3dx9.lib(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z) d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24 d3dx9.lib(d3dx9dbg.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyA@12 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z) d3dx9.lib(cpudetect.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyA@12 Debug/Mario Pilota.exe : fatal error LNK1120: 46 unresolved externals Build log was saved at "file://e:\Documents and Settings\livio\Documenti\Visual Studio\Projects\Mario Pilota\Mario Pilota\Debug\BuildLog.htm" Mario Pilota - 62 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== What can I do now?? Why all this problems, I think that Microsoft people enjoy to make my programming difficult!! :-( Thanks in advance, livliv

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!