blob: 430227c8326cca8991429001fd0e5376ce74e0e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# sfml-rpg
Simple C++ SFML school project.
## Compiling
### Linux
- Install sfml package from your package manager:
- [**libsfml-dev**](https://packages.debian.org/buster/libsfml-dev) for Debian based distributions
- [**sfml**](https://archlinux.org/packages/community/x86_64/sfml/) for Arch based distributions
```
make
```
### Windows
- Download [latest stable version](https://www.sfml-dev.org/download.php) of SFML
- Install [mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds)
- Add mingw64\bin to $PATH
```
g++ -std=c++14 -g -O2 -Wall -o sfml-rpg src\*.cpp -I SFML-2.5.1\include -L SFML-2.5.1\lib -lsfml-graphics -lsfml-window -lsfml-system
```
Or just use Linux
> If you use Visual Studio or Code::Blocks you can follow [official tutorial](https://www.sfml-dev.org/tutorials) for setting up SFML.
## Requirements
- SFML 2.5+ version
|