You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,20 @@ The template starts out very basic, but might receive additional features over t
13
13
1. Follow the above instructions about how to use GitHub's project template feature to create your own project.
14
14
1. Open [CMakeLists.txt](CMakeLists.txt). Rename the project and the executable to whatever name you want. The project and executable names don't have to match.
15
15
1. If you want to add or remove any .cpp files, change the source files listed in the [`add_executable`](CMakeLists.txt#L10) call in CMakeLists.txt to match the source files your project requires. If you plan on keeping the default main.cpp file then no changes are required.
16
+
1. If you use Linux, install SFML's dependencies using your system package manager. On Ubuntu and other Debian-based distributions you can use the following commands:
17
+
```
18
+
sudo apt update
19
+
sudo apt install \
20
+
libxrandr-dev \
21
+
libxcursor-dev \
22
+
libudev-dev \
23
+
libfreetype-dev \
24
+
libopenal-dev \
25
+
libflac-dev \
26
+
libvorbis-dev \
27
+
libgl1-mesa-dev \
28
+
libegl1-mesa-dev
29
+
```
16
30
1. Configure and build your project. Most popular IDEs support CMake projects with very little effort on your part.
17
31
- [VS Code](https://code.visualstudio.com) via the [CMake extension](https://code.visualstudio.com/docs/cpp/cmake-linux)
0 commit comments