A simple C++ + SFML 3D Terrain
In order to build this project, you need the following dependencies:
- gcc
- For Windows, use the MinGW compiler provided by SFML: WinLibs MSVCRT 13.1.0 (64-bit)
- make
- cmake
- SFML 2.6.1
Static linking libraries:
-
Linux:
- X11
sudo apt-get install x11-xserver-utils
- Xrandr
sudo apt-get install libxrandr-dev
- Xcursor
sudo apt-get install libxcursor-dev
- udev
sudo apt-get install libudev-dev
- X11
-
Windows (come with Windows by default):
- opengl32
- winmm
- gdi32
cmake . -DSFML_PATH="path/path/to/sfml"
To build with shared libraries add -DSHARED=ON
make
./Terrain
or double click on the icon.