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

how compiler my src windows to debian?

chucky91

Advanced OT User
Joined
Apr 8, 2010
Messages
280
Solutions
9
Reaction score
153
I was wondering how to be able to compile my sources that work on windows compilation and migrate to be compiled on ubuntu/debian?
I'm leaving windows as it generates some bugs out of nowhere.
I already have machine access to the ubuntu server desktop
little knew about ubuntu.
source is nostalrius 3.0
 
how do i include something in the library in ubuntu?
XXXXXXXX:~/forgottenserver/build# cmake ..
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Crypto++: /usr/include
-- MySQL Include dir: /usr/include/mysql library dir: /usr/lib/aarch64-linux-gnu
-- MySQL client libraries: /usr/lib/aarch64-linux-gnu/libmysqlclient.so;-ldl
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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 PugiXML: /usr/include
-- Found LuaJIT: /usr/lib/aarch64-linux-gnu/libluajit-5.1.so;/usr/lib/aarch64-linux-gnu/libm.so (found version "2.1.0-beta3")
-- Found Boost: /lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.66.0") found components: date_time system iostreams
-- IPO / LTO enabled
-- Configuring done
CMake Error in CMakeLists.txt:
Imported target "Boost::date_time" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not
provide.



CMake Error in CMakeLists.txt:
Imported target "Boost::date_time" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not
provide.



-- Generating done
 
Back
Top