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

TFS 1.X+ Problem with libraries in ubuntu 20.04

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
847
Solutions
6
Reaction score
151
Location
Nowhere
Hello Community

I have problem at the beginning of compilation. who know how to fix this?
followed this to install the libraries: otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu)

Lua:
root@ot-server:/home/otserv# chmod -R 777 build

root@ot-server:/home/otserv# mkdir build && cd build && cmake ..

-- The C compiler identification is GNU 9.3.0

-- The CXX compiler identification is GNU 9.3.0

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

-- Detecting C compile features

-- Detecting C compile features - 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

-- Detecting CXX compile features

-- Detecting CXX compile features - done

CMake Error at CMakeLists.txt:10 (include):

  include could not find load file:



    cotire





CMake Error at CMakeLists.txt:20 (include):

  include could not find load file:



    FindCXX11





CMake Error at CMakeLists.txt:21 (include):

  include could not find load file:



    FindLTO





CMake Error at CMakeLists.txt:24 (find_package):

  By not providing "FindCrypto++.cmake" in CMAKE_MODULE_PATH this project has

  asked CMake to find a package configuration file provided by "Crypto++",

  but CMake did not find one.



  Could not find a package configuration file provided by "Crypto++" with any

  of the following names:



    Crypto++Config.cmake

    crypto++-config.cmake



  Add the installation prefix of "Crypto++" to CMAKE_PREFIX_PATH or set

  "Crypto++_DIR" to a directory containing one of the above files.  If

  "Crypto++" provides a separate development package or SDK, be sure it has

  been installed.





-- Configuring incomplete, errors occurred!

See also "/home/otserv/build/CMakeFiles/CMakeOutput.log".

root@ot-server:/home/otserv/build#
 
Last edited:
Hello Community

I have problem at the beginning of compilation. who know how to fix this?
followed this to install the libraries: otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu)

Lua:
root@ot-server:/home/otserv# chmod -R 777 build

root@ot-server:/home/otserv# mkdir build && cd build && cmake ..

-- The C compiler identification is GNU 9.3.0

-- The CXX compiler identification is GNU 9.3.0

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

-- Detecting C compile features

-- Detecting C compile features - 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

-- Detecting CXX compile features

-- Detecting CXX compile features - done

CMake Error at CMakeLists.txt:10 (include):

  include could not find load file:



    cotire





CMake Error at CMakeLists.txt:20 (include):

  include could not find load file:



    FindCXX11





CMake Error at CMakeLists.txt:21 (include):

  include could not find load file:



    FindLTO





CMake Error at CMakeLists.txt:24 (find_package):

  By not providing "FindCrypto++.cmake" in CMAKE_MODULE_PATH this project has

  asked CMake to find a package configuration file provided by "Crypto++",

  but CMake did not find one.



  Could not find a package configuration file provided by "Crypto++" with any

  of the following names:



    Crypto++Config.cmake

    crypto++-config.cmake



  Add the installation prefix of "Crypto++" to CMAKE_PREFIX_PATH or set

  "Crypto++_DIR" to a directory containing one of the above files.  If

  "Crypto++" provides a separate development package or SDK, be sure it has

  been installed.





-- Configuring incomplete, errors occurred!

See also "/home/otserv/build/CMakeFiles/CMakeOutput.log".

root@ot-server:/home/otserv/build#


add in ur cmakelist

Makefile:
set(CMAKE_CXX_STANDARD_LIBRARIES -ldl)
 
Back
Top