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

Zmiana przy komplikacji 8.6 a 10.77

Reins

Member
Joined
Apr 9, 2009
Messages
586
Reaction score
8
Witam,

Próbuję uruchomić make'a na 8.6 ale nie chcę wystartować.

Korzystając z:
Code:
https://github.com/otland/forgottenserver/wiki/Compiling-on-Debian-GNU-Linux
używając tych repozytoriów z linka
Code:
$ git clone https://github.com/otland/forgottenserver.git
wszystko jest w porządku, komplikacja przebiega spokojnie i silnik śmiga na 10.77.

Lecz gdy pobiorę
Code:
https://github.com/ninjalulz/forgottenserver/tree/8.6
czyli ten sam silnik tylko 8.6 występuje mi taki błąd w konsoli.

Code:
@31024-1-4d4bc7-01:/home# cd forgottenserver-8.6
@31024-1-4d4bc7-01:/home/forgottenserver-8.6# mkdir build && cd build
@31024-1-4d4bc7-01:/home/forgottenserver-8.6/build#
@31024-1-4d4bc7-01:/home/forgottenserver-8.6/build# cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/x86_64-linux-gnu
-- 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
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   system
-- CXX target tfs cotired without unity build.
CMake Error at cmake/cotire.cmake:256 (get_source_file_property):
  Cannot find source file:

    /home/forgottenserver-8.6/src/inbox.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  cmake/cotire.cmake:1941 (cotire_get_source_file_property_values)
  cmake/cotire.cmake:2573 (cotire_generate_target_script)
  cmake/cotire.cmake:2877 (cotire_process_target_language)
  cmake/cotire.cmake:3026 (cotire_target)
  CMakeLists.txt:50 (cotire)


CMake Error at cmake/cotire.cmake:256 (get_source_file_property):
  Cannot find source file:

    /home/forgottenserver-8.6/src/iomarket.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  cmake/cotire.cmake:1941 (cotire_get_source_file_property_values)
  cmake/cotire.cmake:2573 (cotire_generate_target_script)
  cmake/cotire.cmake:2877 (cotire_process_target_language)
  cmake/cotire.cmake:3026 (cotire_target)
  CMakeLists.txt:50 (cotire)


-- Configuring incomplete, errors occurred!
See also "/home/forgottenserver-8.6/build/CMakeFiles/CMakeOutput.log".
See also "/home/forgottenserver-8.6/build/CMakeFiles/CMakeError.log".
@31024-1-4d4bc7-01:/home/forgottenserver-8.6/build# make
make: *** No targets specified and no makefile found.  Stop.
@31024-1-4d4bc7-01:/home/forgottenserver-8.6/build#

Co robię źle ?

:)

@Edit
System Debian 8 Jessie

Repozytoria

Code:
#~~~~~~Jessie~~~~~~#
deb http://ftp.pl.debian.org/debian/ jessie main non-free contrib
#deb-src http://ftp.pl.debian.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.pl.debian.org/debian/ jessie-updates main non-free contrib
#deb-src http://ftp.pl.debian.org/debian/ jessie-updates main non-free contrib

#~~~~~~Backports_Jessie~~~~~~#
deb http://ftp.pl.debian.org/debian/ jessie-backports main contrib non-free
 
Last edited:
Też mam problem z kompilacją silnika 8.6 na Debian 7 Wheezy , jeżeli jest ktoś tak miły i powie co ma być w source.list i co ma być pobrane jakie liby żeby to poszło normalnie daje 100 reputów :)
 
/home/forgottenserver-8.6/src/inbox.cpp
/home/forgottenserver-8.6/src/iomarket.cpp



Tego brakuje czy nie powinno być przy v8.6 ?

Próbowałem dodawać do kompilacji te pliki z innych source ale to się gryzie...
 
Back
Top