Open dudemin opened 11 months ago
15> Completed generating project 'modules. vcxproj' - failed.
18> ------ Started generation: Project: worldserver, Configuration: RelWithDebInfo x64------
18> Building Custom Rule E:/GitHub/azerothcore/azerothcore wotlk/src/server/apps/CMakeLists.txt
18> Cmake_ Pch.cxx
18> Main.cpp
18> ACSoap.cpp
18> CliRunnable.cpp
18> RASession.cpp
18> WheatyExceptionReport.cpp
18> ServiceWin32.cpp
18> LINK: fatal error LNK1181: Unable to open input file '.. .. .. Modules RelWithDebInfo modules. lib'
18> Completed generating project 'worldserver. vcxproj' - failed.
19> ------ Started generation: Project: ALL_ BUILD, configuration: RelWithDebInfo x64------
19> Building Custom Rule E:/GitHub/azerothcore/azerothcore wotlk/CMakeLists.txt
==========Generation: 17 successful, 2 failed, latest 0, skipped 0==========
1、修改mod-playerbots\src\strategy\rogueAssassinationRogueStrategy.h 第16行: virtual int GetType() { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; } 为: uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
2、修改mod-playerbots\src\strategy\rogue\DpsRogueStrategy.h 第21行: virtual int GetType() { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; } 为: uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
编译通过。后果未知。
Have the same issue with rogue part, any solution ? Regards
This should be fixed with the latest updates by Liyunfan, please confirm and close out if resolved.
Azerothcore-mod-playerbots -compilation error,
Compilation environment: VC2019+CMAKE3.26+boost 1 81_ 0+OpenSSL1.1.1
The error is as follows:
15>DpsRogueStrategy.cpp 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.h(16,17): error C4263: “int AssassinationRogueStrategy::GetType(void)”: 成员函数不重写任何基类虚拟成员函数 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.h(17,1): error C4264: “uint32 MeleeCombatStrategy::GetType(void) const”: 不重写基“MeleeCombatStrategy”中的虚拟成员函数;函数被隐藏 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(18): message : 参见“MeleeCombatStrategy::GetType”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(12): message : 参见“MeleeCombatStrategy”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.cpp) 15>GenericRogueNonCombatStrategy.cpp 15>RogueActions.cpp 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.h(21,21): error C4263: “int DpsRogueStrategy::GetType(void)”: 成员函数不重写任何基类虚拟成员函数 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.h(22,1): error C4264: “uint32 MeleeCombatStrategy::GetType(void) const”: 不重写基“MeleeCombatStrategy”中的虚拟成员函数;函数被隐藏 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(18): message : 参见“MeleeCombatStrategy::GetType”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(12): message : 参见“MeleeCombatStrategy”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.cpp) 15>RogueAiObjectContext.cpp 15>RogueComboActions.cpp 15>RogueOpeningActions.cpp 15>RogueTriggers.cpp 15>CasterShamanStrategy.cpp 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.h(21,21): error C4263: “int DpsRogueStrategy::GetType(void)”: 成员函数不重写任何基类虚拟成员函数 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\DpsRogueStrategy.h(22,1): error C4264: “uint32 MeleeCombatStrategy::GetType(void) const”: 不重写基“MeleeCombatStrategy”中的虚拟成员函数;函数被隐藏 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(18): message : 参见“MeleeCombatStrategy::GetType”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(12): message : 参见“MeleeCombatStrategy”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>GenericShamanStrategy.cpp 15>HealShamanStrategy.cpp 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.h(16,17): error C4263: “int AssassinationRogueStrategy::GetType(void)”: 成员函数不重写任何基类虚拟成员函数 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\AssassinationRogueStrategy.h(17,1): error C4264: “uint32 MeleeCombatStrategy::GetType(void) const”: 不重写基“MeleeCombatStrategy”中的虚拟成员函数;函数被隐藏 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(18): message : 参见“MeleeCombatStrategy::GetType”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\generic\MeleeCombatStrategy.h(12): message : 参见“MeleeCombatStrategy”的声明 (编译源文件 E:\GitHub\azerothcore\azerothcore-wotlk\modules\mod-playerbots\src\strategy\rogue\RogueAiObjectContext.cpp) 15>MeleeShamanStrategy.cpp