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
@cloudproblemssolved20 күн бұрын
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
@FFDEV20 күн бұрын
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
@imxande69303 ай бұрын
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!!!
@FFDEV3 ай бұрын
lol honestly I use chatgpt now to tell me how to setup libraries and what includes to use and where it works pretty good
@imxande69303 ай бұрын
@@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-fe9hr11 ай бұрын
Thank you so much, this is so much cleaner than the sfml website's documentation lol
@FFDEV11 ай бұрын
I'm glad that I could help, I had trouble as well setting up sfml initially
@sauravsingh471 Жыл бұрын
Seriously ,thanks man ,i have been scrambling like a mad and was unable to link the smfl
@castlerockcode5 ай бұрын
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!)
@FFDEV5 ай бұрын
hopefully it works out for you
@castlerockcode5 ай бұрын
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
@FFDEV5 ай бұрын
@@castlerockcode I'm glad I was able to help you get setup, good luck on your projects
@user-dj9uv1fq1k Жыл бұрын
Thank you very much. I really appreciate you making this video.
@FFDEV Жыл бұрын
you're welcome anytime :D
@Amjad2900511 ай бұрын
Thank you, you save my time (:
@FFDEV11 ай бұрын
anytime, I'm glad I could help
@giogiogio987afria45 ай бұрын
Oh I see it thanks broooooooooooo
@FFDEV5 ай бұрын
I hope it helped you
@codemonkey74468 ай бұрын
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?
@FFDEV8 ай бұрын
ill try my best to help you join my discord when you can ill post the link in the description of this video
@Xaruzo13 күн бұрын
you earn a like at least
@FFDEV13 күн бұрын
haha thanks
@AngelofD000M7 ай бұрын
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.
@FFDEV6 ай бұрын
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
@AngelofD000M6 ай бұрын
@@FFDEVokay I was able to get it working. For some reason the window keeps crashing, would you know why?
@FFDEV6 ай бұрын
@@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
@AngelofD000M6 ай бұрын
@@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.
@FFDEV6 ай бұрын
@@AngelofD000M hmm im not too sure on why it would be doing that
@taffoi583011 ай бұрын
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!
@FFDEV11 ай бұрын
ahh, Im using visual studio 2022, not vscode
@taffoi583011 ай бұрын
@@FFDEV Oh ,thanks alot!!!
@sauravsingh471 Жыл бұрын
Do i need to do this for every project in smfl i create.
@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
@eddiemuffin2019 ай бұрын
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!
@FFDEV9 ай бұрын
I've never setup a library with Vscode however chatgpt may be able to tell you how to do it
@eddiemuffin2019 ай бұрын
I have tried it for months, getting errors with the header files. @@FFDEV I guess i would have to download Visual Studio