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

    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.

    Link to comment
    Share on other sites

    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]

    Link to comment
    Share on other sites

    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 :)

    Link to comment
    Share on other sites



    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