[Setup] SFML Setup on Linux (Shown on Ubuntu 18.04)

preview_player
Показать описание

►Lesson Description: In this lesson I will show you how to setup libsfml-dev (i.e. the sfml libraries and header files) using the Ubuntu package manager.

00:00 Introduction
00:35 Installing sfml using apt package manager
1:54 Testing our installation
2:30 Compiling our code
2:50 Fixing 'undefined reference' errors (i.e. make sure to link libraries)
3:30 Conclusion

►Please like and subscribe to help the channel!
Рекомендации по теме
Комментарии
Автор

I fiddled with sfml for days and couldn't install but you solved my problem in 4 minutes. Thanks!!

igeeeeeer
Автор

Thank you it saves me with hours that I did not have to realize how to install the compressed file from the website! The easiest way is much better!

vandorlokronika
Автор

I got this working on WSL. Thanks for the video!

TheHawk
Автор

After a long time i find a another perfect tutor of c++

checkingdotnet
Автор

I have tried to setup sfml on windows several times and everytime i stumbled upon some kind of error that screwed everything and it took like 15 minutes to make it on linux, thanks for this great tutorial

djsonx
Автор

Greetings! I don't know if you'll respond to this, but I'm in need of help.

When I first compiled and executed this program everything worked in order. Changing nothing and coming back to it, I'm getting a nasty screen tear that seems unsolvable. The upper third of the green circle is torn up, and horizontally tears out of the boundary of the Linux window! Setting everything up by the book, I get presented the warning: "Setting vertical sync not supported." That is all the lead I have.

Vertex-lxhx
Автор

Does it works on artix Linux? I’m just lazy to open my laptop to test it…
Sudo pacman libsfml-dev -Sy is that working?

MelGitPro
Автор

It keeps saying failed to load image. I am using WSL2. Has anyone got any idea why?

lorenzovonmatterhorn
Автор

sry for my english but when i write "vim sfml.cpp that just say "zsh: command not found: -vim"

azents
Автор

I have been doing this tutorial including the build mode for 3 days now and i still get the same error: error: no matching function for call to ‘sf::VideoMode::VideoMode(int, int)’

naar_kie
Автор

Between SFML, Pygame and SDL which one has the best performance ?

AntoineVanGeyseghem
Автор

Does this installation method also work in wsl?

nargeskhansari