VCMI_client CAdvmapInterface.obj link error CInfoBar

I didn’t build vcmi about 2 month and had to reinstall VC2010 Express =( I restored LibraryPath and IncludePath for boost, SDL* and zlib in VCMI_global.props, but i still get LNK2019 errors:

1>------ Build started: Project: VCMI_client, Configuration: Debug Win32 ------
1>     Creating library E:\game\vcmi\VCMI_client.lib and object E:\game\vcmi\VCMI_client.exp
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: __thiscall CInfoBar::CInfoBar(struct Rect const &)" (??0CInfoBar@@QAE@ABURect@@@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" (??0CAdvMapInt@@QAE@XZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: __thiscall CTownList::CTownList(int,struct Point,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0CTownList@@QAE@HUPoint@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" (??0CAdvMapInt@@QAE@XZ)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: __thiscall CTownList::CTownList(int,struct Point,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0CTownList@@QAE@HUPoint@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: __thiscall CHeroList::CHeroList(int,struct Point,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0CHeroList@@QAE@HUPoint@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" (??0CAdvMapInt@@QAE@XZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: __thiscall CMinimap::CMinimap(struct Rect const &)" (??0CMinimap@@QAE@ABURect@@@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" (??0CAdvMapInt@@QAE@XZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::setLevel(int)" (?setLevel@CMinimap@@QAEXH@Z) referenced in function "public: void __thiscall CAdvMapInt::fswitchLevel(void)" (?fswitchLevel@CAdvMapInt@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: int __thiscall CList::getSelectedIndex(void)" (?getSelectedIndex@CList@@QAEHXZ) referenced in function "public: void __thiscall CAdvMapInt::selectionChanged(void)" (?selectionChanged@CAdvMapInt@@QAEXXZ)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: int __thiscall CList::getSelectedIndex(void)" (?getSelectedIndex@CList@@QAEHXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CList::selectNext(void)" (?selectNext@CList@@QAEXXZ) referenced in function "public: virtual void __thiscall CAdvMapInt::keyPressed(struct SDL_KeyboardEvent const &)" (?keyPressed@CAdvMapInt@@UAEXABUSDL_KeyboardEvent@@@Z)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CList::selectNext(void)" (?selectNext@CList@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showHeroSelection(class CGHeroInstance const *,bool)" (?showHeroSelection@CInfoBar@@QAEXPBVCGHeroInstance@@_N@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" (?select@CAdvMapInt@@QAEXPBVCArmedInstance@@_N@Z)
1>CPlayerInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CInfoBar::showHeroSelection(class CGHeroInstance const *,bool)" (?showHeroSelection@CInfoBar@@QAEXPBVCGHeroInstance@@_N@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CHeroList::select(class CGHeroInstance const *)" (?select@CHeroList@@QAEXPBVCGHeroInstance@@@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" (?select@CAdvMapInt@@QAEXPBVCArmedInstance@@_N@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CTownList::select(class CGTownInstance const *)" (?select@CTownList@@QAEXPBVCGTownInstance@@@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" (?select@CAdvMapInt@@QAEXPBVCArmedInstance@@_N@Z)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CTownList::select(class CGTownInstance const *)" (?select@CTownList@@QAEXPBVCGTownInstance@@@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showTownSelection(class CGTownInstance const *,bool)" (?showTownSelection@CInfoBar@@QAEXPBVCGTownInstance@@_N@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" (?select@CAdvMapInt@@QAEXPBVCArmedInstance@@_N@Z)
1>CPlayerInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CInfoBar::showTownSelection(class CGTownInstance const *,bool)" (?showTownSelection@CInfoBar@@QAEXPBVCGTownInstance@@_N@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::setAIRadar(bool)" (?setAIRadar@CMinimap@@QAEX_N@Z) referenced in function "public: void __thiscall CAdvMapInt::startTurn(void)" (?startTurn@CAdvMapInt@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::startEnemyTurn(unsigned char)" (?startEnemyTurn@CInfoBar@@QAEXE@Z) referenced in function "public: void __thiscall CAdvMapInt::aiTurnStarted(void)" (?aiTurnStarted@CAdvMapInt@@QAEXXZ)
1>CCastleInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CList::selectPrev(void)" (?selectPrev@CList@@QAEXXZ) referenced in function "public: virtual void __thiscall CCastleInterface::keyPressed(struct SDL_KeyboardEvent const &)" (?keyPressed@CCastleInterface@@UAEXABUSDL_KeyboardEvent@@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CHeroList::update(class CGHeroInstance const *)" (?update@CHeroList@@QAEXPBVCGHeroInstance@@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::heroMoved(struct TryMoveHero const &)" (?heroMoved@CPlayerInterface@@UAEXABUTryMoveHero@@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CTownList::update(class CGTownInstance const *)" (?update@CTownList@@QAEXPBVCGTownInstance@@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::buildChanged(class CGTownInstance const *,int,int)" (?buildChanged@CPlayerInterface@@UAEXPBVCGTownInstance@@HH@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showComponent(struct Component,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?showComponent@CInfoBar@@QAEXUComponent@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::showComp(struct Component const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?showComp@CPlayerInterface@@UAEXABUComponent@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::showTile(class int3 const &)" (?showTile@CMinimap@@QAEXABVint3@@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::tileRevealed(class boost::unordered_set<class int3,struct ShashInt3,struct std::equal_to<class int3>,class std::allocator<class int3> > const &)" (?tileRevealed@CPlayerInterface@@UAEXABV?$unordered_set@Vint3@@UShashInt3@@U?$equal_to@Vint3@@@std@@V?$allocator@Vint3@@@4@@boost@@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::hideTile(class int3 const &)" (?hideTile@CMinimap@@QAEXABVint3@@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::tileHidden(class boost::unordered_set<class int3,struct ShashInt3,struct std::equal_to<class int3>,class std::allocator<class int3> > const &)" (?tileHidden@CPlayerInterface@@UAEXABV?$unordered_set@Vint3@@UShashInt3@@U?$equal_to@Vint3@@@std@@V?$allocator@Vint3@@@4@@boost@@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showDate(void)" (?showDate@CInfoBar@@QAEXXZ) referenced in function "public: void __thiscall CPlayerInterface::acceptTurn(void)" (?acceptTurn@CPlayerInterface@@QAEXXZ)
1>E:\game\vcmi\VCMI_client.exe : fatal error LNK1120: 20 unresolved externals
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped =========

I tested it on r2755 and r2761 with the same result. So, I’m sure, that it’s my config problem.
VCMI_client -> Properties -> Configuration Properties -> Linker -> Command Line

/OUT:"E:\game\vcmi\VCMI_client.exe" /NOLOGO /LIBPATH:"E:\game\vcmi\" "SDL.lib" "zlib.lib" "SDL_image.lib" "SDL_ttf.lib" "SDL_mixer.lib" "VCMI_lib.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "E:\game\vcmi\VCMI_lib.lib" /MANIFEST /ManifestFile:"Debug\VCMI_client.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"E:\game\vcmi\VCMI_client.pdb" /OPT:NOREF /PGD:"E:\game\vcmi\VCMI_client.pgd" /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /PROFILE /ERRORREPORT:QUEUE 

Can somebody help me to fix problem?

Should be fixed in r2763.

Sorry for delay in updating project files, exams are so distracting. :stuck_out_tongue: (I’ll be busy till July)

Thx, r2763 compiles fine.