Super short version for quick reference; ruclips.net/user/shorts-XORNEXrguE Details of this video, such as links and paths can be found in the desctiption. Make sure to create an empty c++ project in VS and keep solution in seperate directory to the source files (default behaviour)
Dude this was awesome. Upon reading the tutorial more carefully. It seems that the SFML website does mention what to do properly but it's still rather difficult to follow along completely. Thank you so much I was finally able to get it to work :D
For anyone who can't see the C/C++ tab in properties, make sure you create a "main.cpp" file, then it will show up. I felt so dumb when I realized this.
Most def a great tip! I am not sure how much time I have to put on a longer series but once the Unity one is done then this might be a great idea! Thanks :)
*_Nice , So if you are correctly linking the SFML Include and Library path and pasting the .dll to correct folder this will definitely worok_* *THANK YOU*
Hey why didn't you do the PATH in your system environments? trying to do COMP4300 by Dave Churchill and can't get this to work. Also I don;t know what to link based off the SFML tutorial, the stuff in the preprocessor I mean. All of this is very confusing!
Is it possible to link both x32 and x64 in the same project? I tried to do it but of the stuff in their bin folder have the same name so when I tried to put both in the folder where the .cpp file is, I can have either one or the other.
Yes you can but you need to make another folder and make sure you give VS the correct paths to both the x86 and x64. If you keep everything in the same folder you will have that issue you mentioned.
project is solution on same directory or separate directory? why won't you show the creation of the viusual studio project, is like 30 seconds... TOPS.
The visual studio project is an empty c++ project with solution in the directory above the source code. If you go to 01:30 you will see that the solution is seperate and I paste the dll files in the source code folder. Hope it helps!
I am making a chess engine using c++ and sfml in vscode, but I'm facing alot of issues while building it. The sfml files are not able to link properly. Is sfml only for visual studio and not vscode?
Super short version for quick reference; ruclips.net/user/shorts-XORNEXrguE
Details of this video, such as links and paths can be found in the desctiption.
Make sure to create an empty c++ project in VS and keep solution in seperate directory to the source files (default behaviour)
after going through several tutorials for this, this was the only one that ended up working. thank you so much, very appreciated.
I kept mucking this up by myself. Watched your tutorial and it worked first time - thank you!
Dude this was awesome. Upon reading the tutorial more carefully. It seems that the SFML website does mention what to do properly but it's still rather difficult to follow along completely. Thank you so much I was finally able to get it to work :D
As you mentioned it was straight to the point linking SFML dynamically, thanks so much!
Thank you a lot for the tutorial! It clarified some things that the SFML guide didn't specifically mention.
For anyone who can't see the C/C++ tab in properties, make sure you create a "main.cpp" file, then it will show up. I felt so dumb when I realized this.
What about the other tabs i did create a main file but it dznt shows other tabs
thanks bro I needeed this for a class project. Easy to follow and it saved me !
Thank you so much. I spent so long trying to do this and this video was finally the one that was actually useful.
this is the only tutorial that worked for me thanks
dudee you're a lifesaver!! 👍
I swear this is a fever dream
Thank you!!
the best video. thanks buddy really appreciate it!!!!!
Where should the external folder be placed ? within the same directory as the main.cpp ?
Any hope of a future new SFML game serie ? :P
I'm curious about Vampire Survivor style
Most def a great tip! I am not sure how much time I have to put on a longer series but once the Unity one is done then this might be a great idea! Thanks :)
*_Nice , So if you are correctly linking the SFML Include and Library path and pasting the .dll to correct folder this will definitely worok_*
*THANK YOU*
Thanks man ❤️
Thankyou so much sir
just curious, how different would this be in comparison to x64 ?
It would be the same process but you would refer to the x64 in all steps.
Hey why didn't you do the PATH in your system environments? trying to do COMP4300 by Dave Churchill and can't get this to work. Also I don;t know what to link based off the SFML tutorial, the stuff in the preprocessor I mean. All of this is very confusing!
your a fucking god bro, could you make a video where you put a song in a programs pls. Its for a final project
Thanks a lot :)
finally it worked
mine deletes the executable when run it causing an error but im on 64 bit
Can you do a video on how to link SFML to Code::Blocks? Thank you
I will try to do one for vs code and code blocks
Is it possible to link both x32 and x64 in the same project?
I tried to do it but of the stuff in their bin folder have the same name so when I tried to put both in the folder where the .cpp file is, I can have either one or the other.
Yes you can but you need to make another folder and make sure you give VS the correct paths to both the x86 and x64. If you keep everything in the same folder you will have that issue you mentioned.
There is still some red underlines how do I fix them
so i have to repeat all this for every different project i want to make with sfml?
Hmm you could copy the project that has the linked stuff
project is solution on same directory or separate directory? why won't you show the creation of the viusual studio project, is like 30 seconds... TOPS.
The visual studio project is an empty c++ project with solution in the directory above the source code. If you go to 01:30 you will see that the solution is seperate and I paste the dll files in the source code folder. Hope it helps!
I am making a chess engine using c++ and sfml in vscode, but I'm facing alot of issues while building it. The sfml files are not able to link properly. Is sfml only for visual studio and not vscode?
I understand! It is possible to do with vscode, have you tried following a tutorial specific for vs code? I will try to put one up eventually
I love you bro
text is too small
Thanks will think about it next time