*Youtube placed a strikethrough for no reason just ignore it you should still be able to copy and paste commands normally!
---------—— COMMANDS ---------——
For Arch:
sudo pacman -S sfml
For Debian/Ubuntu:
sudo apt-get install libsfml-dev
2) Sample Script:
https://pastebin.com/aNcyHpFy
3) Compile command:
g++ -c main.cpp
4) Link Command:
g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
5) Run Command:
./sfml-app
---------—— OTHER ---------——
Tutorial: https://www.sfml-dev.org/tutorials/2....
---------—— MY SOCIALS ---------——
Twitch: / 6aki7
Twitter: / mer6aki
Insta: @mer6aki7
Discord: / discord
Email: [email protected]
---------—— Desc ---------——
It took me a while to figure this out so I made a tutorial so that if anyone else was in the same situation it wouldn't take them as long. In this tutorial I show you how to get and use C++ libraries in linux. The example I used in the video is SMFL a pretty popular 2D graphics library. I hope this helped, if it did please leave a comment and let me know. Also let me know if there's anything I can improve on to make a better tutorial. Have a great day/night :D.
---------—— CHAPTERS ---------——
0:00 - Intro
0:31 - Tutorial
2:19 - Example Project
4:48 - Extra Information
6:41 - Outro