Getting a ton of linking errors when compiling
Posted: Thu Feb 24, 2011 8:40 pm
So I'm getting this on a clean compile. I have the files for win_include_do_not_distribute, as far as I know. Am I missing some important file or something, or is some solid problem I will never be able to get around?
Anyone know anything?
Anyone know anything?
- Code:
- 1>------ Build started: Project: master, Configuration: Debug Win32 ------
1>config.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::lcase(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?lcase@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V23@@Z) referenced in function "void __cdecl processConfigLine(int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * const)" (?processConfigLine@@YAXHQAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>database.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::itos(unsigned __int64)" (?itos@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_K@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl insertStatsGame(class Query *,struct Zap::GameStats const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?insertStatsGame@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVQuery@@PBUGameStats@Zap@@ABV12@@Z)
1>database.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::itos(int)" (?itos@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl insertStatsGame(class Query *,struct Zap::GameStats const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?insertStatsGame@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVQuery@@PBUGameStats@Zap@@ABV12@@Z)
1>main.obj : error LNK2001: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::itos(int)" (?itos@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
1>database.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::replaceString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?replaceString@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@00@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl sanitize(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?sanitize@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV12@@Z)
1>main.obj : error LNK2019: unresolved external symbol "void __cdecl Zap::processStatsResults(struct Zap::GameStats *)" (?processStatsResults@Zap@@YAXPAUGameStats@1@@Z) referenced in function "public: virtual void __thiscall MasterServerConnection::s2mSendStatistics_remote(struct Zap::VersionedGameStats)" (?s2mSendStatistics_remote@MasterServerConnection@@UAEXUVersionedGameStats@Zap@@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall Authenticator::~Authenticator(void)" (??1Authenticator@@QAE@XZ) referenced in function "public: enum MasterServerConnection::PHPBB3AuthenticationStatus __thiscall MasterServerConnection::verifyCredentials(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> >)" (?verifyCredentials@MasterServerConnection@@QAE?AW4PHPBB3AuthenticationStatus@1@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V34@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Authenticator::authenticate(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> >,int &)" (?authenticate@Authenticator@@QAE_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V23@AAH@Z) referenced in function "public: enum MasterServerConnection::PHPBB3AuthenticationStatus __thiscall MasterServerConnection::verifyCredentials(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> >)" (?verifyCredentials@MasterServerConnection@@QAE?AW4PHPBB3AuthenticationStatus@1@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V34@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: void __thiscall Authenticator::initialize(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> >,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> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)" (?initialize@Authenticator@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0000H@Z) referenced in function "public: enum MasterServerConnection::PHPBB3AuthenticationStatus __thiscall MasterServerConnection::verifyCredentials(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> >)" (?verifyCredentials@MasterServerConnection@@QAE?AW4PHPBB3AuthenticationStatus@1@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V34@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall Authenticator::Authenticator(void)" (??0Authenticator@@QAE@XZ) referenced in function "public: enum MasterServerConnection::PHPBB3AuthenticationStatus __thiscall MasterServerConnection::verifyCredentials(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> >)" (?verifyCredentials@MasterServerConnection@@QAE?AW4PHPBB3AuthenticationStatus@1@AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V34@@Z)
1>main.obj : error LNK2019: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Zap::trim(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?trim@Zap@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@0@Z) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall MasterServerConnection::cleanName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?cleanName@MasterServerConnection@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V23@@Z)
1>masterInterface.obj : error LNK2019: unresolved external symbol "void __cdecl Types::read(class TNL::BitStream &,struct Zap::VersionedGameStats *)" (?read@Types@@YAXAAVBitStream@TNL@@PAUVersionedGameStats@Zap@@@Z) referenced in function "public: virtual void __thiscall TNL::FunctorDecl<void (__thiscall MasterServerInterface::*)(struct Zap::VersionedGameStats)>::read(class TNL::BitStream &)" (?read@?$FunctorDecl@P8MasterServerInterface@@AEXUVersionedGameStats@Zap@@@Z@TNL@@UAEXAAVBitStream@2@@Z)
1>masterInterface.obj : error LNK2019: unresolved external symbol "void __cdecl Types::write(class TNL::BitStream &,struct Zap::VersionedGameStats &)" (?write@Types@@YAXAAVBitStream@TNL@@AAUVersionedGameStats@Zap@@@Z) referenced in function "public: virtual void __thiscall TNL::FunctorDecl<void (__thiscall MasterServerInterface::*)(struct Zap::VersionedGameStats)>::write(class TNL::BitStream &)" (?write@?$FunctorDecl@P8MasterServerInterface@@AEXUVersionedGameStats@Zap@@@Z@TNL@@UAEXAAVBitStream@2@@Z)
1>..\exe\master_d.exe : fatal error LNK1120: 12 unresolved externals
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========