Skip to content

Compiling on Arch Linux

Nicholas Viergever edited this page Dec 22, 2023 · 6 revisions

Acquire dependencies

Ensure your system is current & install required packages:

$ sudo pacman -Syu
$ sudo pacman -S asio base-devel cmake fmt freeglut git mesa nlohmann-json wxwidgets-gtk3 

Clone the project

$ git clone git@github.com:hjnilsson/rme.git

Building & compiling the project

$ mkdir rme/build && cd rme/build && cmake .. && make -j $(nproc)

If using CMake > 3.11, you might get a warning regarding FindOpenGL during the CMake step. To resolve this, specify the OpenGL_GL_PREFERENCE option when calling CMake:

$ cmake .. -D OpenGL_GL_PREFERENCE:STRING=GLVND ...

Running Remere's Map Editor

$ ./rme