Jump to content
  • Error on building v.22.01.9 on Linux.


    Daniil
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Unknown
      Version: 22.x (Current Master Branch) Milestone: Unset Priority: New
      Implemented Version: Unset

    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

     


    User Feedback

    Recommended Comments



    Guest
    This is now closed for further comments

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use