Begin point and getting start to SFML using CPP.
[Note] :
When we write software using C language with .c
format, We should use c++ compiler for the build step.
Arch (https://www.archlinux.org/packages/community/x86_64/sfml/) :
$ sudo pacman -S sfml
[sudo] password for max:
resolving dependencies...
looking for conflicting packages...
Packages (2) glew-2.1.0-1 sfml-2.5.1-1
Total Download Size: 1.72 MiB
Total Installed Size: 12.64 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
glew-2.1.0-1-x86_64 328.3 KiB 842K/s 00:00 [#####################################] 100%
sfml-2.5.1-1-x86_64 1429.0 KiB 946K/s 00:02 [#####################################] 100%
(2/2) checking keys in keyring [#####################################] 100%
(2/2) checking package integrity [#####################################] 100%
(2/2) loading package files [#####################################] 100%
(2/2) checking for file conflicts [#####################################] 100%
(2/2) checking available disk space [#####################################] 100%
:: Processing package changes...
(1/2) installing glew [#####################################] 100%
(2/2) installing sfml [#####################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
We can use from the SFML/
directory.
https://www.sfml-dev.org/tutorials/2.5/
FirstSFML is licensed under the GNU General Public License.