Hello! I'm trying to update my Mangos Two server from some 21.11.xx (~mid November 2020) to release v.22.01.9, and I can't built the new version, because of error on build.
Here is a report about it from build log:
Quote/home/daniil/storage/mangos/server/src/modules/SD3/include/sc_creature.cpp: In member function ‘Creature* ScriptedAI::DoSpawnCreature(uint32, float, float, float, float, uint32, uint32)’:
/home/daniil/storage/mangos/server/src/modules/SD3/include/sc_creature.cpp:257:153: error: ‘TempSummonType’ was not declared in this scope
iId, m_creature->GetPositionX() + fX, m_creature->GetPositionY() + fY, m_creature->GetPositionZ() + fZ, fAngle, (TempSummonType)uiType, uiDespawntime);
^~~~~~~~~~~~~~
/home/daniil/storage/mangos/server/src/modules/SD3/include/sc_creature.cpp:257:153: note: suggested alternative: ‘TempSpawnType’
iId, m_creature->GetPositionX() + fX, m_creature->GetPositionY() + fY, m_creature->GetPositionZ() + fZ, fAngle, (TempSummonType)uiType, uiDespawntime);
^~~~~~~~~~~~~~
TempSpawnType
src/modules/SD3/CMakeFiles/mangosscript.dir/build.make:110: recipe for target 'src/modules/SD3/CMakeFiles/mangosscript.dir/include/sc_creature.cpp.o' failed
make[2]: *** [src/modules/SD3/CMakeFiles/mangosscript.dir/include/sc_creature.cpp.o] Error 1
CMakeFiles/Makefile2:975: recipe for target 'src/modules/SD3/CMakeFiles/mangosscript.dir/all' failed
make[1]: *** [src/modules/SD3/CMakeFiles/mangosscript.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Recommended Comments