Jump to content
  • Another compilation error on Rel20


    cabfever
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20(currentmasterbranch) Milestone: 20 Priority: Urgent
      Implemented Version: 0.20(currentmasterbranch)

    Another compilation error on Rel20

    [code]
    [ 29%] Building CXX object src/game/CMakeFiles/game.dir/Object.cpp.o
    In file included from /usr/include/c++/4.8/unordered_map:35:0,
    from /home/mangos/mangoszero/server/src/game/LuaEngine/ElunaUtility.h:12,
    from /home/mangos/mangoszero/server/src/game/LuaEngine/ElunaEventMgr.h:10,
    from /home/mangos/mangoszero/server/src/game/Object.cpp:54:
    /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
    #error This file requires compiler and library support for the \
    ^
    make[2]: *** [src/game/CMakeFiles/game.dir/Object.cpp.o] Error 1
    make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    [/code]

    Since tonight I'm getting this from a clean git clone


    User Feedback

    Recommended Comments

    Foereaper

    Posted

    I have passed this on to Rochet, will have to be changed on our end for

    Rochet2

    Posted

    The error is true, but you are using too new Eluna for your source.
    The sources have fixed Eluna version hashes that should be followed.
    The error doesnt happen on the designed version.

    Thanks for the heads up.
    Will fix it now.

    Foereaper

    Posted

    Issue is now fixed on our end, awaiting a submodule hash update and all should be good :)

    Xenithar

    Posted

    May be fixed there, but I just now cloned and built it, and instead of having the error at 29% it is at 39%.
    [code]
    [ 39%] Building CXX object src/game/CMakeFiles/game.dir/Object.cpp.o
    In file included from /usr/include/c++/4.7/unordered_map:35:0,
    from /home/.../zero/src/server/src/game/LuaEngine/ElunaUtility.h:12,
    from /home/.../zero/src/server/src/game/LuaEngine/ElunaEventMgr.h:10,
    from /home/.../zero/src/server/src/game/Object.cpp:54:
    /usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
    compilation terminated due to -Wfatal-errors.
    make[2]: *** [src/game/CMakeFiles/game.dir/Object.cpp.o] Error 1
    make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    [/code]

    Foereaper

    Posted

    Yeah, we're waiting for Antz to update the submodule hash to get the latest code :P Workaround for now:

    - Go to src/game/LuaEngine
    - Open git here
    - Type
    git checkout HEAD~1
    git pull origin master

    This will get the latest submodule version where the issue is fixed :)

    Xenithar

    Posted

    I will try that. If it is 1115 here, it is probably 1715 where Antz is, if my timezones are correct. Might be a while, plus he has a family!

    Xenithar

    Posted

    Fast work. I'll stop my build and try it the normal way. Report back soon.

    Xenithar

    Posted

    I did, check the issue I created this morning. Runs fine, but crashes on shutdown with Eluna. Well, appears to be Eluna.



    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