zetibia
Member
- Joined
- Jun 23, 2013
- Messages
- 109
- Reaction score
- 11
Hello friends, I am not able to compile the new Tfs 1.1 in ubuntu system, follow the tutorial however only error.
*follow this tutorial: https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu
Someone help me?
*follow this tutorial: https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu
root@ns240407:~/source/build# cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test COMPILER_KNOWS_CXX11
-- Performing Test COMPILER_KNOWS_CXX11 - Failed
-- Performing Test COMPILER_KNOWS_CXX0X
-- Performing Test COMPILER_KNOWS_CXX0X - Success
-- Found GMP: /usr/include
-- MySQL Include dir: /usr/include/mysql library dir: /usr/lib/x86_64-linux-gnu
-- MySQL client libraries: mysqlclient
-- Could NOT find LuaJIT (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- system
-- Configuring done
-- Generating done
-- Build files have been written to: /root/source/build
root@ns240407:~/source/build# make
Scanning dependencies of target tfs
[ 1%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
In file included from /root/source/src/actions.cpp:22:0:
/root/source/src/actions.h:36:49: error: expected â;â at end of member declaration
/root/source/src/actions.h:36:51: error: âoverrideâ does not name a type
/root/source/src/actions.h:37:52: error: expected â;â at end of member declaration
/root/source/src/actions.h:37:54: error: âoverrideâ does not name a type
/root/source/src/actions.h:73:36: error: expected â;â at end of member declaration
/root/source/src/actions.h:73:42: error: âoverrideâ does not name a type
/root/source/src/actions.h:84:21: error: expected initializer before â:â token
In file included from /root/source/src/item.h:23:0,
from /root/source/src/bed.h:23,
from /root/source/src/actions.cpp:23:
/root/source/src/cylinder.h:236:21: error: expected â;â at end of member declaration
/root/source/src/cylinder.h:236:27: error: âoverrideâ does not name a type
/root/source/src/cylinder.h:239:27: error: expected â;â at end of member declaration
/root/source/src/cylinder.h:239:33: error: âoverrideâ does not name a type
/root/source/src/cylinder.h:242:39: error: expected â;â at end of member declaration
/root/source/src/cylinder.h:242:45: error: âoverrideâ does not name a type
/root/source/src/cylinder.h:245:20: error: expected â;â at end of member declaration
/root/source/src/cylinder.h:245:26: error: âoverrideâ does not name a type
In file included from /root/source/src/bed.h:23:0,
from /root/source/src/actions.cpp:23:
/root/source/src/item.h:321:17: error: expected â;â at end of member declaration
/root/source/src/item.h:321:19: error: âfinalâ does not name a type
/root/source/src/item.h:324:25: error: expected â;â at end of member declaration
/root/source/src/item.h:324:31: error: âfinalâ does not name a type
In file included from /root/source/src/bed.h:23:0,
from /root/source/src/actions.cpp:23:
/root/source/src/item.h:524:52: error: expected â;â at end of member declaration
/root/source/src/item.h:524:58: error: âfinalâ does not name a type
/root/source/src/item.h:535:21: error: expected â;â at end of member declaration
/root/source/src/item.h:535:27: error: âfinalâ does not name a type
/root/source/src/item.h:538:27: error: expected â;â at end of member declaration
/root/source/src/item.h:538:33: error: âfinalâ does not name a type
In file included from /root/source/src/actions.cpp:23:0:
/root/source/src/bed.h:28:21: error: expected initializer before â:â token
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2
Someone help me?