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

Compiling Ubuntu 16.04

hopesoft

New Member
Joined
Mar 31, 2021
Messages
4
Reaction score
1



I need the file already compiled, I'm not able to compile it, I'm going to open a server to play with friends and brother, could someone help me?
 
I need the file already compiled, I'm not able to compile it, I'm going to open a server to play with friends and brother, could someone help me?
How is Ubuntu 16.04 related to this? Do you have VPS/dedic with Ubuntu 16.04 installed?
TFS 1.2 probably won't work on Ubuntu 16.04 without a lot of custom C++ packages installed. Can't you reinstall OS on server to 20.04 or 22.04?

EDIT:
I downloaded server.zip from that thread. Replaced src/connection.cpp, src/connection.h and cmake/FindLuaJIT.cmake with files included in this post attachment and compilation worked on Ubuntu 20.04:
Code:
apt install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev libfmt-dev libboost-date-time-dev git cmake build-essential libluajit-5.1-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev

mkdir build
cd build
cmake .. && make -j$(nproc)
In attached .zip there is also Dockerfile with instruction how to compile on Ubuntu 20.04.
If you cannot change Ubuntu 16.04 to 20.04, you can always install Docker on 16.04 and use it to compile and run OTS using 20.04.
Here is description how I run Ubuntu 2x.04 on Windows to compile and run server: Windows - Linux Running on Windows (https://otland.net/threads/linux-running-on-windows.274039/#post-2697015)
 

Attachments

Last edited:
I've tried every way, I really can't, I changed the docker container to Ubuntu 20.04, could you make me this build? And send me the file? executable? I just need this to play with friends and brothers.
 
How is Ubuntu 16.04 related to this? Do you have VPS/dedic with Ubuntu 16.04 installed?
TFS 1.2 probably won't work on Ubuntu 16.04 without a lot of custom C++ packages installed. Can't you reinstall OS on server to 20.04 or 22.04?

EDIT:
I downloaded server.zip from that thread. Replaced src/connection.cpp, src/connection.h and cmake/FindLuaJIT.cmake with files included in this post attachment and compilation worked on Ubuntu 20.04:
Code:
apt install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev libfmt-dev libboost-date-time-dev git cmake build-essential libluajit-5.1-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev

mkdir build
cd build
cmake .. && make -j$(nproc)
In attached .zip there is also Dockerfile with instruction how to compile on Ubuntu 20.04.
If you cannot change Ubuntu 16.04 to 20.04, you can always install Docker on 16.04 and use it to compile and run OTS using 20.04.
Here is description how I run Ubuntu 2x.04 on Windows to compile and run server: Windows - Linux Running on Windows (https://otland.net/threads/linux-running-on-windows.274039/#post-2697015)
you build for me? plz
 
Back
Top