Log in

View Full Version : Another build fail...


Mortow
09-22-2014, 09:20 PM
I pulled today and recompiled but it failed on three of the builds. Here is the error list from Visual Studio Express 2012 (win32 build).

Error 3 error C2039: 'isnan' : is not a member of 'std' C:\EQ\Source\common\database.cpp 1759 1 common
Error 4 error C3861: 'isnan': identifier not found C:\EQ\Source\common\database.cpp 1759 1 common
Error 5 error C2039: 'isnan' : is not a member of 'std' C:\EQ\Source\common\database.cpp 1767 1 common
Error 6 error C3861: 'isnan': identifier not found C:\EQ\Source\common\database.cpp 1767 1 common
Error 47 error LNK2019: unresolved external symbol "public: bool __thiscall Database::StoreCharacter(unsigned int,struct PlayerProfile_Struct *,class Inventory *)" (?StoreCharacter@Database@@QAE_NIPAUPlayerProfile_ Struct@@PAVInventory@@@Z) referenced in function "private: bool __thiscall Client::OPCharCreate(char *,struct CharCreate_Struct *)" (?OPCharCreate@Client@@AAE_NPADPAUCharCreate_Struc t@@@Z) C:\EQ\Source\Build\world\client.obj world
Error 48 error LNK2019: unresolved external symbol "public: bool __thiscall Database::CheckDatabaseConversions(void)" (?CheckDatabaseConversions@Database@@QAE_NXZ) referenced in function _main C:\EQ\Source\Build\world\net.obj world
Error 49 error LNK2019: unresolved external symbol "public: bool __thiscall Database::ThrowDBError(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> >)" (?ThrowDBError@Database@@QAE_NV?$basic_string@DU?$ char_traits@D@std@@V?$allocator@D@2@@std@@00@Z) referenced in function "public: void __thiscall WorldDatabase::GetCharSelectInfo(unsigned int,struct CharacterSelect_Struct *,unsigned int)" (?GetCharSelectInfo@WorldDatabase@@QAEXIPAUCharact erSelect_Struct@@I@Z) C:\EQ\Source\Build\world\worlddb.obj world
Error 50 error LNK1120: 3 unresolved externals C:\EQ\Source\Build\Bin\Debug\world.exe world
Error 150 error LNK2019: unresolved external symbol "public: void __thiscall SharedDatabase::LoadCharacterInspectMessage(unsign ed int,struct InspectMessage_Struct *)" (?LoadCharacterInspectMessage@SharedDatabase@@QAEX IPAUInspectMessage_Struct@@@Z) referenced in function "public: void __thiscall Client::Handle_Connect_OP_ZoneEntry(class EQApplicationPacket const *)" (?Handle_Connect_OP_ZoneEntry@Client@@QAEXPBVEQApp licationPacket@@@Z) C:\EQ\Source\Build\zone\client_packet.obj zone
Error 151 error LNK2019: unresolved external symbol "public: void __thiscall SharedDatabase::SaveCharacterInspectMessage(unsign ed int,struct InspectMessage_Struct const *)" (?SaveCharacterInspectMessage@SharedDatabase@@QAEX IPBUInspectMessage_Struct@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_InspectAnswer(class EQApplicationPacket const *)" (?Handle_OP_InspectAnswer@Client@@QAEXPBVEQApplica tionPacket@@@Z) C:\EQ\Source\Build\zone\client_packet.obj zone
Error 152 error LNK2019: unresolved external symbol "public: bool __thiscall Database::ThrowDBError(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> >)" (?ThrowDBError@Database@@QAE_NV?$basic_string@DU?$ char_traits@D@std@@V?$allocator@D@2@@std@@00@Z) referenced in function "public: bool __thiscall ZoneDatabase::SaveCharacterBindPoint(unsigned int,unsigned int,unsigned int,float,float,float,float,unsigned char)" (?SaveCharacterBindPoint@ZoneDatabase@@QAE_NIIIMMM ME@Z) C:\EQ\Source\Build\zone\zonedb.obj zone
Error 153 error LNK1120: 3 unresolved externals C:\EQ\Source\Build\Bin\Debug\zone.exe zone

Is something else required other than re-generating with c-make and recompiling?

Thanks,
Mortow

KLS
09-22-2014, 10:40 PM
Wont have this fixed today but will look at it tomorrow.

joligario
09-22-2014, 11:37 PM
When you regenerated, did you delete the build folder first? Just wondering because I cleared out and compiled fine with 2013 Express. Also looks like you are building Debug instead of RelWithDebInfo?

KLS
09-23-2014, 05:34 AM
It's a problem with vs2012, we'll have a fix sometime soon.

Mortow
09-23-2014, 06:19 AM
Thanks KLS, no rush. I just wanted to let someone know what was happening.


When you regenerated, did you delete the build folder first? Just wondering because I cleared out and compiled fine with 2013 Express. Also looks like you are building Debug instead of RelWithDebInfo?

What is the recommended one? I don't think that is something I touched when setting up for the first time, so I am assuming (and you know what that can do) that debug is the default. As for clearing the build folder, I have never done that.

Thank you both for your replies.