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


    Daniil
    • Main Category: Core / Mangos Daemon
      Sub-Category: Unknown
      Version: 22.x (Current Master Branch)
      Related to:

    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



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • 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