1) CMake version at least 3.26.
libxrandr-dev
libxcursor-dev
libudev-dev
libopenal-dev
libflac-dev
libvorbis-dev
libgl1-mesa-dev
libegl1-mesa-dev
libdrm-dev
libgbm-dev
libfreetype6-dev
Download the source code as ZIP from here by presing the green button marked in the image below.
Press Download ZIP button and then extract the content.
Go inside the extracted folder (the folder name should be Radar-Contact-main)
Open your OS terminal inside the extracted folder and type the following
command: cmake -S . -B build
. Then wait until the whole
process is finished (it may take a while).
After the previous step finished type the following command
in terminal: cmake --build build -j6
(-j6
is the number of
threads used to build the project - this is used to make the process faster).
Install the build with this command: cmake --install build
To run the game on Windows use start ./install_dir/bin/radar_contact.exe
To run the game on Linux / macOS use ./install_dir/bin/radar_contact
dyld[]: Library not loaded: @rpath/../Frameworks/freetype.framework/Versions/A/freetype
Fix: Run the following command inside radar-contact-main directory sudo cp -r ./build/_deps/sfml-src/extlibs/libs-osx/frameworks/ /library/frameworks
.
This error is because of FLAC, freetype, ogg, OpenAL, vorbis, vorbisenc and
vorbisfile frameworks missing, so this command will copy them to /library/frameworks
.