Closed fatalieror closed 1 year ago
Provide cmake, boost and visual studio version. Which branch from mangos and playerbot you used? Which options you checked in cmake?
I have been compiling for Months without problems and i cant remember, that i have changed anything. Cmake 3.20.2 boost: 1_69_0 Visual Studio 2017
Ike3: https://github.com/celguar/mangosbot-bots Mangos: https://github.com/celguar/mangos-classic/tree/ike3-bots
BUILD_GAME_SERVER BUILD_IKE3_BOTS BUILD_LOGIN_SERVER BUILD_SCRIPTDEV
Try this options and RelWithDebInfo configuration
Tried as described with RelWithDebInfo.
Try rebuild not build (worked for me).
So you had the same Problem?
I tried everything. Delete Cache. Rebuild. Re-clone all Repo's. I dont know what else i could do.
What confuses me the most, is that i changed nothing and it suddenly started to fail when they introduced "dungeon Multiplier"
I'm not sure cmangos supports visual studio 2017 anymore. Did you try stock cmangos? I did try 2017 last year and it didn't work for me
Or maybe we added code that only works in later versions of Visual Studio...Can you try with latest code please?
Changed to VS2019. Works now. Cheers.
Hey,
after a fresh clone i receive the following errors in TBC and Classic:
Severity Code Description Project File Line Suppression State Error C2681 'Action ': invalid expression type for dynamic_cast Bots C:\Users\AL\Desktop\20220401\20230414\mangos-classic\src\modules\Bots\playerbot\strategy\generic\DungeonMultipliers.cpp Line 11 Error C2872 'Action': ambiguous symbol Bots C:\Users\AL\Desktop\20220401\20230414\mangos-classic\src\modules\Bots\playerbot\strategy\generic\DungeonMultipliers.cpp Line 9
Error C2511 'float ai::PreventMoveAwayFromCreatureOnReachToCastMultiplier::GetValue(Action )': overloaded member function not found in 'ai::PreventMoveAwayFromCreatureOnReachToCastMultiplier' Bots C:\Users\AL\Desktop\20220401\20230414\mangos-classic\src\modules\Bots\playerbot\strategy\generic\DungeonMultipliers.cpp Line 10