Jump to content
  • mangoszero build g3dlite fail


    zixijian
    • Status: Unconfirmed
      Main Category: Core / Mangos Daemon
      Sub-Category: Core Crash
      Version: 21.14 Milestone: Unset Priority: New
      Implemented Version: Unset
      Assigned: H0zen

    i use aarch64 debian8 gcc4.9.2 g++4.9.2

    when i build mangoszero

    [ 43%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/AABox.cpp.oIn file included from /root/zero/server/dep/g3dlite/G3D/debugPrintf.h:19:0,

                     from /root/zero/server/dep/g3dlite/G3D/debug.h:21,

                     from /root/zero/server/dep/g3dlite/G3D/g3dmath.h:56,

                     from /root/zero/server/dep/g3dlite/G3D/Vector3.h:18,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.h:19,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.cpp:11:

    /root/zero/server/dep/g3dlite/G3D/format.h:30:23: error: expected initializer before ‘format’

     std::string __cdecl format(

                           ^

    In file included from /root/zero/server/dep/g3dlite/G3D/debug.h:21:0,

                     from /root/zero/server/dep/g3dlite/G3D/g3dmath.h:56,

                     from /root/zero/server/dep/g3dlite/G3D/Vector3.h:18,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.h:19,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.cpp:11:

    /root/zero/server/dep/g3dlite/G3D/debugPrintf.h:44:21: error: expected initializer before ‘consolePrintf’

     std::string __cdecl consolePrintf(const char* fmt ...) G3D_CHECK_PRINTF_ARGS;

                         ^

    /root/zero/server/dep/g3dlite/G3D/debugPrintf.h:56:21: error: expected initializer before ‘debugPrintf’

     std::string __cdecl debugPrintf(const char* fmt ...) G3D_CHECK_PRINTF_ARGS;

                         ^

    In file included from /root/zero/server/dep/g3dlite/G3D/Table.h:20:0,

                     from /root/zero/server/dep/g3dlite/G3D/Vector2.h:22,

                     from /root/zero/server/dep/g3dlite/G3D/Vector3.h:20,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.h:19,

                     from /root/zero/server/dep/g3dlite/G3D/AABox.cpp:11:

    /root/zero/server/dep/g3dlite/G3D/Array.h:135:17: error: expected ‘;’ at end of member declaration

         static bool __cdecl compareGT(const T& a, const T& b) {

                     ^

    /root/zero/server/dep/g3dlite/G3D/Array.h:135:57: error: ISO C++ forbids declaration of ‘compareGT’ with no type [-fpermissive]

         static bool __cdecl compareGT(const T& a, const T& b) {

                                                             ^

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:67: error: expected ‘)’ before ‘*’ token

         void sortSubArray(int beginIndex, int endIndex, bool (__cdecl *lessThan)(const T& elem1, const T& elem2)) {

                                                                       ^

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:67: error: expected ‘)’ before ‘*’ token

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:59: error: expected ‘;’ at end of member declaration

         void sortSubArray(int beginIndex, int endIndex, bool (__cdecl *lessThan)(const T& elem1, const T& elem2)) {

                                                               ^

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:68: error: ISO C++ forbids declaration of ‘lessThan’ with no type [-fpermissive]

         void sortSubArray(int beginIndex, int endIndex, bool (__cdecl *lessThan)(const T& elem1, const T& elem2)) {

                                                                        ^

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:68: error: expected ‘;’ at end of member declaration

    /root/zero/server/dep/g3dlite/G3D/Array.h:986:76: error: expected unqualified-id before ‘)’ token

         void sortSubArray(int beginIndex, int endIndex, bool (__cdecl *lessThan)(const T& elem1, const T& elem2)) {

                                                                                ^dep/g3dlite/CMakeFiles/g3dlite.dir/build.make:54: recipe for target 'dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/AABox.cpp.o' failed

    make[2]: *** [dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/AABox.cpp.o] Error 1

    CMakeFiles/Makefile2:440: recipe for target 'dep/g3dlite/CMakeFiles/g3dlite.dir/all' failed

    make[1]: *** [dep/g3dlite/CMakeFiles/g3dlite.dir/all] Error 2

    Makefile:117: recipe for target 'all' failed

    make: *** [all] Error 2


    User Feedback

    Recommended Comments

    There are no comments to display.



    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