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 &)" ([email protected]@[email protected]@@@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" ([email protected]@[email protected])
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> >)" ([email protected]@[email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" ([email protected]@[email protected])
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> >)" ([email protected]@[email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
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> >)" ([email protected]@[email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" ([email protected]@[email protected])
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: __thiscall CMinimap::CMinimap(struct Rect const &)" ([email protected]@[email protected]@@@Z) referenced in function "public: __thiscall CAdvMapInt::CAdvMapInt(void)" ([email protected]@[email protected])
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::setLevel(int)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall CAdvMapInt::fswitchLevel(void)" ([email protected]@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: int __thiscall CList::getSelectedIndex(void)" ([email protected]@@QAEHXZ) referenced in function "public: void __thiscall CAdvMapInt::selectionChanged(void)" ([email protected]@@QAEXXZ)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: int __thiscall CList::getSelectedIndex(void)" ([email protected]@@QAEHXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CList::selectNext(void)" ([email protected]@@QAEXXZ) referenced in function "public: virtual void __thiscall CAdvMapInt::keyPressed(struct SDL_KeyboardEvent const &)" ([email protected]@@[email protected]@@Z)
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CList::selectNext(void)" ([email protected]@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showHeroSelection(class CGHeroInstance const *,bool)" ([email protected]@@[email protected]@[email protected]) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CPlayerInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CInfoBar::showHeroSelection(class CGHeroInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CHeroList::select(class CGHeroInstance const *)" ([email protected]@@[email protected]@@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CTownList::select(class CGTownInstance const *)" ([email protected]@@[email protected]@@Z) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CCastleInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CTownList::select(class CGTownInstance const *)" ([email protected]@@[email protected]@@Z)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showTownSelection(class CGTownInstance const *,bool)" ([email protected]@@[email protected]@[email protected]) referenced in function "public: void __thiscall CAdvMapInt::select(class CArmedInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CPlayerInterface.obj : error LNK2001: unresolved external symbol "public: void __thiscall CInfoBar::showTownSelection(class CGTownInstance const *,bool)" ([email protected]@@[email protected]@[email protected])
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::setAIRadar(bool)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall CAdvMapInt::startTurn(void)" ([email protected]@@QAEXXZ)
1>CAdvmapInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::startEnemyTurn(unsigned char)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall CAdvMapInt::aiTurnStarted(void)" ([email protected]@@QAEXXZ)
1>CCastleInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CList::selectPrev(void)" ([email protected]@@QAEXXZ) referenced in function "public: virtual void __thiscall CCastleInterface::keyPressed(struct SDL_KeyboardEvent const &)" ([email protected]@@[email protected]@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CHeroList::update(class CGHeroInstance const *)" ([email protected]@@[email protected]@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::heroMoved(struct TryMoveHero const &)" ([email protected]@@[email protected]@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CTownList::update(class CGTownInstance const *)" ([email protected]@@[email protected]@@Z) referenced in function "public: virtual void __thiscall CPlayerInterface::buildChanged(class CGTownInstance const *,int,int)" ([email protected]@@[email protected]@[email protected])
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> >)" ([email protected]@@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@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> >)" ([email protected]@@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::showTile(class int3 const &)" ([email protected]@@[email protected]@@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 &)" ([email protected]@@[email protected]@@[email protected]@[email protected]@@@[email protected]@[email protected]@@@[email protected]@[email protected]@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CMinimap::hideTile(class int3 const &)" ([email protected]@@[email protected]@@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 &)" ([email protected]@@[email protected]@@[email protected]@[email protected]@@@[email protected]@[email protected]@@@[email protected]@[email protected]@@Z)
1>CPlayerInterface.obj : error LNK2019: unresolved external symbol "public: void __thiscall CInfoBar::showDate(void)" ([email protected]@@QAEXXZ) referenced in function "public: void __thiscall CPlayerInterface::acceptTurn(void)" ([email protected]@@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.