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)
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.
*_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*
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?
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!
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
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.
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 :)
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)
I kept mucking this up by myself. Watched your tutorial and it worked first time - thank you!
Thank you so much. I spent so long trying to do this and this video was finally the one that was actually useful.
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.
your a fucking god bro, could you make a video where you put a song in a programs pls. Its for a final project
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.
*_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*
Can you do a video on how to link SFML to Code::Blocks? Thank you
finally it worked
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
Thanks a lot :)
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 love you bro
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
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.
the best video. thanks buddy really appreciate it!!!!!
As you mentioned it was straight to the point linking SFML dynamically, thanks so much!
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 :)
Thanks man ❤️
text is too small
Thanks will think about it next time