• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Kompilacja TFS 1.0

Liley

New Member
Joined
Jul 21, 2015
Messages
8
Best answers
0
Reaction score
0
TFS 1.0 nie 1.2. Cześć, potrzebuje pomocy przy kompilacji. Po pobraniu silnika z github otlandu, przeprowadzam proces kompilacji i mam następujące problemy:

Code:
root:/home# cd forgottenserver
root:/home/forgottenserver# mkdir build && cd build
root:/home/forgottenserver/build# cmake ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- 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
-- cotire 1.6.9 loaded.
-- Performing Test COMPILER_KNOWS_CXX11
-- Performing Test COMPILER_KNOWS_CXX11 - Success
-- Performing Test COMPILER_KNOWS_STDLIB
-- Performing Test COMPILER_KNOWS_STDLIB - Failed
-- 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 file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1194 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.49.0

  Boost include path: /usr/include

  Detected version of Boost is too old.  Requested version was 1.53 (or
  newer).

  The following Boost libraries could not be found:

          boost_system

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:40 (find_package)


-- CXX target tfs cotired without unity build.
-- Configuring incomplete, errors occurred!
root:/home/forgottenserver/build# make
make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
root:/home/forgottenserver/build#
 
Last edited by a moderator:

EvulMastah

๏̯͡๏﴿
Premium User
Joined
Aug 19, 2007
Messages
4,834
Best answers
0
Reaction score
185
Czytac nie umi? libboost-system-dev zainstaluj. Nowszy.
 
OP
L

Liley

New Member
Joined
Jul 21, 2015
Messages
8
Best answers
0
Reaction score
0
root:~/forgottenserver/build# make
[ 1%] Building CXX object CMakeFiles/tfs.dir/src/ban.cpp.o

c++: internal compiler error: Naruszenie ochrony pamięci (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/tfs.dir/src/ban.cpp.o] Błąd 4
make[1]: *** [CMakeFiles/tfs.dir/all] Błąd 2
make: *** [all] Błąd 2
root:~/forgottenserver/build#

Proszę o pomoc z problemem wyżej!
 
Last edited by a moderator:

Kuzyn

Veteran OT User
Joined
Dec 19, 2009
Messages
1,396
Best answers
2
Reaction score
394
Location
Gdansk, Poland.
Zrób wszystko tak jak jest opisane w tutorialu, a żadnego błędu nie będzie.
 
Top