Go in your project
mkdir build
cd build
cmake ..
This command line will download all sfml dependencies to run the game.
Build will create two binary dunes-server and dunes, that can be execute to run your game :
cmake --build .
-
Package manager For Mac :
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew --version
If you have any dependency problem with Xrandr : Xrandr all dependancies
- CMake Download After the installation you will need to update your environment path and add the directory of your cmake.
sudo apt-get update
sudo apt-get install cmake
sudo dnf install cmake
sudo pacman -S cmake
Tool used in Unix-like operating systems (including Linux) for configuring screen settings, primarily related to display resolution, refresh rate, rotation, and multiple monitor setups.
-
brew install xquartz -
sudo apt-get update sudo apt-get install x11-xserver-utils -
sudo dnf install xorg-x11-server-utils -
sudo pacman -S xorg-xrandr
-
sudo apt-get update sudo apt-get install libx11-dev libegl1-mesa-dev libudev-dev libopenal-dev libvorbis-dev libflac-dev libxrandr-dev -
sudo dnf install libX11-devel mesa-libEGL-devel libudev-devel openal-soft-devel libvorbis-devel flac-devel libXrandr-devel -
sudo pacman -Syu libx11 libgl libudev openal libvorbis flac libxrandr
If you want to develop a game Visual Studio is a powerful IDE with a simple interface that can allow you to do your project with great ease.
Or you can use Visual Studio Code a simple IDE.
-
curl -o vscode-latest.deb -L http://go.microsoft.com/fwlink/?LinkID=760868 && sudo dpkg -i vscode-latest.deb