chucky91
Advanced OT User
- Joined
- Apr 8, 2010
- Messages
- 295
- Solutions
- 9
- Reaction score
- 154
I come to contribute here with an edition of CMake for Nostalrius 3.0
Before saying it already existed, I didn't find it myself, but come on, this one is for those who can't compile a nostalrius on ubuntu 20.04
The files you must replace the CMake folder and the CmakeLists.txt this is what is outside the SRC folder, while inside the SRC it already comes in your downloaded Nostalrius, however you must remove the weapons.cpp from it, because it doesn't have for nostalrius .
Then just install the libraries.
Before saying it already existed, I didn't find it myself, but come on, this one is for those who can't compile a nostalrius on ubuntu 20.04
The files you must replace the CMake folder and the CmakeLists.txt this is what is outside the SRC folder, while inside the SRC it already comes in your downloaded Nostalrius, however you must remove the weapons.cpp from it, because it doesn't have for nostalrius .
Then just install the libraries.
sudo apt install git cmake build-essential libluajit-5.1-dev libmariadb-dev-compat libboost-date-time-dev libboost-filesystem-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libgmp3-dev libcrypto++-dev libfmt-dev
when you have your project ready, go to the project folder where the config.dist is.
start the commands.
start the commands.
mkdir build && cd build
after
cmake ..
after analyzing everything
make
and hope it finishes its compilation, the file will be in green and written tfs
then just move it to the otserv folder before the data
then just move it to the otserv folder before the data
mv tfs /your path ots
Attachments
-
cmake ubuntu.zip59.1 KB · Views: 63 · VirusTotal