Jump to content
  • 0

Compile error, Syntax error near unexpeected token ObjectMgr


drarkanex

Question

Was on Wheezy, then dist updraded to Jessie because of C++11 errors in wheezy in this same file and the same point.

[ 34%] Building CXX object src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHook                                                      s.cpp.o
In file included from /home/mangos/mangos-three/server/src/modules/Eluna/ElunaIncludes.h:28:0,
                from /home/mangos/mangos-three/server/src/modules/Eluna/ServerHooks.cpp:15:
/home/mangos/mangos-three/server/src/game/Object/ObjectMgr.h:140:15: error: expected constructor, destructor, or type conversion before ‘(’ token
static_assert (MAX_DB_SCRIPT_STRING_ID < ACE_INT32_MAX, "Must scope with int32 range");
              ^
src/modules/Eluna/CMakeFiles/LuaEngine.dir/build.make:77: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHooks.cpp.o' failed
make[2]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHooks.cpp.o] Error 1
CMakeFiles/Makefile2:1163: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/all' failed
make[1]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

I'm going to disable Eluna and see if it continues on

[EDIT] Disabled Eluna, error still occurred. So Enabled Eluna and disabled SD3 and so far so good. Looks like SD3 is broke, at least for me and my setup. If anyone has any insight on this, let me know, I could be forgetting something. SD3 compiles fine with Mangos Two.

[EDIT 2} Spoke too soon, same error, different area..

[ 63%] Building CXX object src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHooks.cpp.o
In file included from /home/mangos/mangos-three/server/src/modules/Eluna/ElunaIncludes.h:28:0,
                from /home/mangos/mangos-three/server/src/modules/Eluna/ServerHooks.cpp:15:
/home/mangos/mangos-three/server/src/game/Object/ObjectMgr.h:140:15: error: expected constructor, destructor, or type conversion before ‘(’ token
static_assert (MAX_DB_SCRIPT_STRING_ID < ACE_INT32_MAX, "Must scope with int32 range");
              ^
src/modules/Eluna/CMakeFiles/LuaEngine.dir/build.make:77: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHooks.cpp.o' failed
make[2]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/ServerHooks.cpp.o] Error 1
CMakeFiles/Makefile2:1039: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/all' failed
make[1]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

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