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