Turul
New Member
- Joined
- Sep 24, 2013
- Messages
- 12
- Reaction score
- 0
I've posted my issues trying to compile OpenTibia before, but I'm no longer so stupid as to use a compiler without C++11 support. This time, everything is installed properly, but OpenTibia still won't compile.
gcc is 4.8.2
Lua is 5.1.5
While I am a programmer, I don't do C++, lua, or any combination thereof, so I could really use some help.
gcc is 4.8.2
Lua is 5.1.5
Code:
$ make
[ 1%] Building CXX object src/CMakeFiles/otserv.dir/actor.cpp.o
In file included from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/cctype:42:0,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/bits/localefwd.h:42,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/string:43,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/stdexcept:39,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/array:38,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/tuple:39,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/functional:55,
from /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/memory:79,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
from /usr/include/boost/shared_ptr.hpp:17,
from /home/Dan/Tibia/server/src/boost_common.h:24,
from /home/Dan/Tibia/server/src/otpch.h:25,
from /home/Dan/Tibia/server/src/actor.cpp:20:
/home/Dan/Tibia/server/src/configmanager.h:154:57: error: expected ‘,’ or ‘...’ before numeric constant
void getConfigValue(const std::string& key, lua_State* _L);
^
/home/Dan/Tibia/server/src/configmanager.h:165:41: error: expected ‘,’ or ‘...’ before numeric constant
std::string getGlobalString(lua_State* _L, const std::string& _identifier, const std::string& _default="") const;
^
/home/Dan/Tibia/server/src/configmanager.h:166:37: error: expected ‘,’ or ‘...’ before numeric constant
int64_t getGlobalNumber(lua_State* _L, const std::string& _identifier, int64_t _default=0) const;
^
/home/Dan/Tibia/server/src/configmanager.h:167:35: error: expected ‘,’ or ‘...’ before numeric constant
double getGlobalFloat(lua_State* _L, const std::string& _identifier, double _default=0.0) const;
^
/home/Dan/Tibia/server/src/configmanager.h:168:35: error: expected ‘,’ or ‘...’ before numeric constant
bool getGlobalBoolean(lua_State* _L, const std::string& _identifier, bool _default=false) const;
^
src/CMakeFiles/otserv.dir/build.make:57: recipe for target 'src/CMakeFiles/otserv.dir/actor.cpp.o' failed
make[2]: *** [src/CMakeFiles/otserv.dir/actor.cpp.o] Error 1
CMakeFiles/Makefile2:78: recipe for target 'src/CMakeFiles/otserv.dir/all' failed
make[1]: *** [src/CMakeFiles/otserv.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
While I am a programmer, I don't do C++, lua, or any combination thereof, so I could really use some help.