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

Problem trying compile TFS 1.2 7.4 in Ubuntu

BananaJuice

New Member
Joined
Oct 5, 2021
Messages
61
Reaction score
4
Hello, I'm having problems trying compile that server in Ubuntu 20.10: [TFS 1.2] Tibia 7.4 (https://otland.net/threads/tfs-1-2-tibia-7-4.263665/) I followed this instructions: Compiling on Ubuntu · otland/forgottenserver Wiki (https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu)

Console log:

root@unknown:/home/user/Descargas/TFS 1.2 7.4# mkdir build
root@unknown:/home/user/Descargas/TFS 1.2 7.4# cd build
root@unknown:/home/user/Descargas/TFS 1.2 7.4/build# cmake ..
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- cotire 1.7.6 loaded.
-- Performing Test COMPILER_KNOWS_CXX11
-- Performing Test COMPILER_KNOWS_CXX11 - Success
-- Performing Test COMPILER_KNOWS_STDLIB
-- Performing Test COMPILER_KNOWS_STDLIB - Failed
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find GMP (missing: GMP_INCLUDE_DIR GMP_LIBRARIES GMPXX_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGMP.cmake:12 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:21 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/user/Descargas/TFS 1.2 7.4/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/Descargas/TFS 1.2 7.4/build/CMakeFiles/CMakeError.log".


Some idea for fix that? Thank you :)
 
It looks like you haven't installed all the libraries, or the compiler can't find them.

Check the CMakeLists.txt files, and the files in the cmake folder.
 
Back
Top