C++ - Setup SFML Visual Studio

  Рет қаралды 5,309

FF Dev

FF Dev

Күн бұрын

in this video I show you how to setup SFML with visual studio so we can begin to work on graphical games and projects, using c++ and the SFML framework
Join me on discord
/ discord

Пікірлер: 37
@cloudproblemssolved
@cloudproblemssolved 20 күн бұрын
how did this work?! Even though my folder did not have SRC in it it still worked, thx so much! Anyone else here for COMP4300 - Game Programming - Lecture 04 - Intro to SFML + Assignment 1 by Dave Churchill> 😂 Guy can teach but expects us to figure out these small stuff
@FFDEV
@FFDEV 20 күн бұрын
you don't have to have a source folder, I just think that it helps with organization. I got into the habit of using it from watching Cherno videos lol
@imxande6930
@imxande6930 3 ай бұрын
Why is it so hard for the great minds that make these cool libraries to add a small video showing how to set this shxt up geez, not all of us are geniuses that can understand all the crap they add to the documentation lol. Thank you good sir for making this video!!!
@FFDEV
@FFDEV 3 ай бұрын
lol honestly I use chatgpt now to tell me how to setup libraries and what includes to use and where it works pretty good
@imxande6930
@imxande6930 3 ай бұрын
@@FFDEV that’s a great idea thank you, I’m using cmake to do all the heavy lifting for me at the moment but I’ll start using ChatGPT to help set stuff up for sure hehe
@Nightmare-fe9hr
@Nightmare-fe9hr 11 ай бұрын
Thank you so much, this is so much cleaner than the sfml website's documentation lol
@FFDEV
@FFDEV 11 ай бұрын
I'm glad that I could help, I had trouble as well setting up sfml initially
@sauravsingh471
@sauravsingh471 Жыл бұрын
Seriously ,thanks man ,i have been scrambling like a mad and was unable to link the smfl
@castlerockcode
@castlerockcode 5 ай бұрын
I'm just going to thank you in advance. I don't know if it will work, but you're my last hope Obi Wan! (Even if it doesn't work, thank you for trying!)
@FFDEV
@FFDEV 5 ай бұрын
hopefully it works out for you
@castlerockcode
@castlerockcode 5 ай бұрын
It worked bro. Thank you so much! The other tutorials didn't specify putting ".lib" at the end of library files in the Linker->Input->AdditionalDependencies entry, so my project was looking for *.obj files during linking. My green circle is beautiful. @@FFDEV
@FFDEV
@FFDEV 5 ай бұрын
@@castlerockcode I'm glad I was able to help you get setup, good luck on your projects
@user-dj9uv1fq1k
@user-dj9uv1fq1k Жыл бұрын
Thank you very much. I really appreciate you making this video.
@FFDEV
@FFDEV Жыл бұрын
you're welcome anytime :D
@Amjad29005
@Amjad29005 11 ай бұрын
Thank you, you save my time (:
@FFDEV
@FFDEV 11 ай бұрын
anytime, I'm glad I could help
@giogiogio987afria4
@giogiogio987afria4 5 ай бұрын
Oh I see it thanks broooooooooooo
@FFDEV
@FFDEV 5 ай бұрын
I hope it helped you
@codemonkey7446
@codemonkey7446 8 ай бұрын
Followed this through 5 times, pausing at each step to ensure I had everything done correctly, spelled correctly, correct versions, correct file orientation, properties settings etc., have searched online and in the SFML Docs, and ChatGPT, but no matter what I try, no matter what tutorial I use, or what computer I am on, I always end on either dozens of errors, or "error C1083: Cannot open include file: 'SFML/Graphics.hpp': No such file or directory". I am using the latest version of Visual Studio 2022 Community: Version 17.8.2 on the x64 Setting (which I accounted for), which I installed all of recently on a clean install of Windows 11 OS with Visual C++ 2022. What could I be missing here? Where else can I go for help?
@FFDEV
@FFDEV 8 ай бұрын
ill try my best to help you join my discord when you can ill post the link in the description of this video
@Xaruzo
@Xaruzo 13 күн бұрын
you earn a like at least
@FFDEV
@FFDEV 13 күн бұрын
haha thanks
@AngelofD000M
@AngelofD000M 7 ай бұрын
2:44 I don't have this option on my visual studio, but I have the C++ workload selected. I'm unsure why this is.
@FFDEV
@FFDEV 6 ай бұрын
I see I see, to fix this you need to right click on your project and go to properties instead of the solution, the project will be whatever you named it. I hope that this helps
@AngelofD000M
@AngelofD000M 6 ай бұрын
​@@FFDEVokay I was able to get it working. For some reason the window keeps crashing, would you know why?
@FFDEV
@FFDEV 6 ай бұрын
@@AngelofD000M if it closes right when you open it its because you dont have a game loop, it needs to be in a while loop that has a condition like a key press to end the window
@AngelofD000M
@AngelofD000M 6 ай бұрын
@@FFDEV i put it in a while loop exactly like you did, and when I pressed play on visual studio, it shows the command line, then it shows the window, and right after the window pops up, it says the window has crashed.
@FFDEV
@FFDEV 6 ай бұрын
@@AngelofD000M hmm im not too sure on why it would be doing that
@taffoi5830
@taffoi5830 11 ай бұрын
Hey there! I need some help. So my vscode only has file, edit, selection, view, go, run, terminal and help i dont have the other stuff that you have in the video. Is it because i have another version of vscode? Thanks!
@FFDEV
@FFDEV 11 ай бұрын
ahh, Im using visual studio 2022, not vscode
@taffoi5830
@taffoi5830 11 ай бұрын
@@FFDEV Oh ,thanks alot!!!
@sauravsingh471
@sauravsingh471 Жыл бұрын
Do i need to do this for every project in smfl i create.
@FFDEV
@FFDEV Жыл бұрын
There's quiet a few ways to do it, this is just personally how I do it, saving a template makes it a lot easier but its still a little much
@eddiemuffin201
@eddiemuffin201 9 ай бұрын
Please I am using vscode not this type. I am finding it difficult to set up sfml on it. I am getting an error that states; SFML/Graphics.hpp: No such file or directory . Kindly help me set up tp foolow your tuition. Thank You!
@FFDEV
@FFDEV 9 ай бұрын
I've never setup a library with Vscode however chatgpt may be able to tell you how to do it
@eddiemuffin201
@eddiemuffin201 9 ай бұрын
I have tried it for months, getting errors with the header files. @@FFDEV I guess i would have to download Visual Studio
C++ Classes and Header files
8:57
FF Dev
Рет қаралды 354
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 5 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,3 МЛН
My Minimal and Beautiful VSCode Setup
10:55
Josh Cirre
Рет қаралды 55 М.
SFML Pong - part 3 HUD
10:39
FF Dev
Рет қаралды 734
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 779 М.
Making a C++ Game with No Experience!
5:51
Barji
Рет қаралды 774 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 242 М.
Проверил, как вам?
0:58
Коннор
Рет қаралды 363 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 12 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 551 М.