Simple SFML Setup in directory (MinGW, VS Code)

preview_player
Показать описание
This was a request in the comments of my other setup video. I tried to keep it as short and concise as possible. Please let me know if anything does not work in the comments below. I will try to respond to everyone.

Just a note: Makefiles are not needed, but they help reduce the ammount of typing in the long run and make it much easier to compile and link your program
Рекомендации по теме
Комментарии
Автор

Awesome video man! I'm going to credit you in the description of my next video as this was incredibly helpful :)

barj
Автор

Why can't all tutorials be like this, simple, elegant and straight forward. Great job!

mytechnotalent
Автор

Just note, if you are on a newer version of mingw, you type "mingw32-make" rather than "make"

HexaflexagonFan
Автор

Best tutorial. Fast. Concise. Clear. Thank you for this.

fiqri
Автор

For anyone getting the “skipping incompatible” error make sure you’ve downloading the correct “GCC MinGW 32 (or 64) bit” and put those files in instead as it won’t compile if you’re using the wrong one. 0:33

TK-tzgs
Автор

Goated tutorial! However I just want to note that it's extremely important to compile with the exact compiler that is linked at the SFML download page if you are just using VS Code (not Visual Studio). Even if you have the same GCC version, it may still be incompatible with the one required by SFML.

Cheers!

frieden
Автор

for those who might be facing issues like I was. If you're using the mingw32 bit version, make sure you also have the corresponding 32-bit version of the libraries you're trying to link. It turned out to be the solution to my problem.

applejuice
Автор

One problem possible error I have helped a couple people with is that your main.cpp and Makefile need to be in the main project directory, not in the src folder. I hope this helps :)

herbglitch
Автор

Wow man... This is soo perfect.. The one and only tutorial that I could find which does not uses ide, cmake, etc.
You are perfect...😊👌👌👌

stevesajeev
Автор

Thanks for this video. Been trying to set SFML up the whole day, this video was the most helpful!

kamidu
Автор

Can't believe I've been trying to set up sfml for 2 days and still can't get it to work. At this point sfml is a wet dream

Dacarta-nwql
Автор

What a straightforward and clear tutorial!

wandaguo
Автор

Why is not every tutorial this good? lmao
I was having problems with the include path, and after seeing your solution of reading sfml's own tutorial I feel kind of stupid. But thanks for the quick and simple tutorial that does everything for me!
Liked, subscribed and favourited this video

ifroad
Автор

This is the best SFML tutorial, period.
From start to finish, it was easy to understand and you showed every step along the way making it a simple and easy way to follow along.
Thank you so much.
You just won yourself a subscriber

michaels
Автор

Your videos are changing lives <3

Thank you for your service.

Edit: also, subscriber++;

neillunavat
Автор

I am 1 step from finishing it when i got this error when trying to run main.exe: The procedure entry point could not be located in the dynamic link library (then the link to sfml-graphics-2.dll)
and another error which is the same but the sfml-window-2.dll instead

nuggets
Автор

i'm not sure if you're still responding, but I followed all the steps but when I tried to run main.exe, nothing happened. I tried to run it from file folder, but it mentioned that the procedure entry point could not be located. Please help

danielabraham
Автор

if someone has error that makefile isn't found, make sure that it is written properly (there is only ONE capital letter Makefile) I made this mistake and spent an hour finding out what was wrong :))

maciejkaminski
Автор

Thanks a lot, after countless hours of failure, this video was super helpful

TheWSPepe
Автор

Hey there, I followed the tutorial up until 2:25 but for some reason the error for the include stills persists, is there any way you could help?

alkhaov