forked from hampusborgos/rme
-
Notifications
You must be signed in to change notification settings - Fork 54
Compiling on Ubuntu 22.04
Majesty edited this page Apr 3, 2023
·
6 revisions
- Ubuntu 22.04
The following command will install Git, CMake, a compiler and the libraries used by Remere's Map Editor.
Git will be used to download the source code, and CMake will be used to generate the build files.
sudo apt update
sudo apt dist-upgrade
sudo apt-get install libasio-dev nlohmann-json3-dev libfmt-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev libxrandr-dev libxxf86vm-dev libglib2.0-dev at-spi2-core libwxgtk3.0-gtk3-dev libarchive-dev freeglut3-dev libxmu-dev libdbus-1-dev libxtst-dev
Update cmake
sudo apt remove --purge cmake
hash -r
sudo apt install snapd
sudo snap install cmake --classic
cmake --version
Install vcpkg
cd ~
git clone https://github.com/microsoft/vcpkg
cd vcpkg
./bootstrap-vcpkg.sh
cd ..
git clone --depth 1 https://github.com/opentibiabr/remeres-map-editor.git
cd canary
git checkout main
.
├── remeres-map-editor
└── vcpkg
mkdir build && cd build
cmake ..
cmake --build . --config Release