Set Up SFML with CodeBlocks Tutorial (Windows) [Check pinned comment]]

  Рет қаралды 101,434

Hopson

Hopson

Күн бұрын

Пікірлер: 576
@Hopsonn
@Hopsonn 7 жыл бұрын
Make sure you download the 32-bit SFML. More Info Below. ___ If you do everything 100% correct, but it still doesn't work: You might need to compile SFML from source for now, as the SFML download targets an older version of MinGW than what comes with CodeBlocks. kzbin.info/www/bejne/eovMmH98mbh6m7s ____ Why 32Bit SFML? Well, you might think "hey my PC is 64 bit? Soooo I will go download the 64 bit SFML right?". This is wrong. The compiler CodeBlocks comes with is a 32-bit compiler, which means only 32-bit SFML is compatible with it. if you download the 64-bit SFML, it will not be compatible with the 32-bit compiler. Follow the video EXACT, and you won't get any errors. It is not hard, it will take maybe 20 to 30 mins of your life if you pause and resume as needs be. Once you do it once, you never have to do it again.
@thestroyer5516
@thestroyer5516 7 жыл бұрын
Where is the playlist shown in the video?
@Hopsonn
@Hopsonn 7 жыл бұрын
kzbin.info/aero/PLMZ_9w2XRxiaz3_mrIviTEg4-BcFFjFDS I unlisted it because i didn't feel it was good quality
@thestroyer5516
@thestroyer5516 7 жыл бұрын
Hopson I knew it xD. Thank you so much!!!
@TheWickedApple
@TheWickedApple 7 жыл бұрын
Y'know this would have been useful IN THE VIDEO, I need to do everything again god damn.
@Hopsonn
@Hopsonn 7 жыл бұрын
I assumed people would actually follow the video rather than guess.
@ImmortalityYT
@ImmortalityYT 5 жыл бұрын
Linker settings: sfml-graphics-d sfml-audio-d sfml-network-d sfml-window-d sfml-system-d sfml-graphics sfml-audio sfml-network sfml-window sfml-system
@UberFile
@UberFile 5 жыл бұрын
If you are using the newest SFML 2.5.1, You have to write "lib" in front of everything he does in Debug and Release, example: libsfml-graphics-d, libsfml-audio-d, libsfml-graphics, libsfml-audio. I hope this helps alot of you who always want the newest stuff available so you don't have to go for the older version ;)
@RachelUndercover
@RachelUndercover 5 жыл бұрын
I still can't get it to work any ideas?
@UberFile
@UberFile 5 жыл бұрын
@@RachelUndercover What happens when you try to build the program? Could you tek what the error is you get?
@luki-fg6qr
@luki-fg6qr 5 жыл бұрын
@@UberFile Still no such file or directory
@luki-fg6qr
@luki-fg6qr 5 жыл бұрын
I m fucking idiot typo
@UberFile
@UberFile 5 жыл бұрын
@@luki-fg6qr So you figured out your problem? ;)
@wkidL
@wkidL 6 жыл бұрын
Finally, someone who doesn't say "I've already got it installed so I'm not going to bother installing it again so just click ok and do whatever is in the description"
@danielesquivel3155
@danielesquivel3155 4 жыл бұрын
Quedaria con lel meme este de final mente. Dea re. y tienes razon
@aryanparekh9314
@aryanparekh9314 4 жыл бұрын
Yes! I hop everyone with tutorial videos see this
@Max-mu2ts
@Max-mu2ts 5 жыл бұрын
It works! mate, I tested it on 17.06.2019, and it still works! many thanks from Germany.
@zed_a99
@zed_a99 5 жыл бұрын
works on 17.12 also .. if any one see that
@ianr5018
@ianr5018 4 жыл бұрын
@md rakib1510 I was getting issues as well what error did u get?
@darg1337
@darg1337 8 ай бұрын
Codeblocks 17.12 + everything else from your tutorial finally worked after dozens of hours and failed attempts, you saved my ass, thank you so much
@SkullKiD096
@SkullKiD096 5 жыл бұрын
THANK YOU SO MUCH!!! PS: Still works on 10/13/2019 . I installed on CodeBlocks 17.12 and download SFML 2.4.2 32 BITS and follow all the steps! No errors and draw the green circle, thank you!!!
@fleskimiso
@fleskimiso 4 жыл бұрын
You could download the newer version.
@andreisas4262
@andreisas4262 3 жыл бұрын
Thank you so much for helping me ! This is the first tutorial in which the code actually worked :)
@ashwas3898
@ashwas3898 2 жыл бұрын
Honestly God Bless, Thank You So Much, You Saved Me So Many Times From Failure In The Future I've Honestly Been Stuck On This 4 Ages! Like Months lol
@aeleequis
@aeleequis 6 жыл бұрын
Finally a tutorial that really worked for me. I have seen already a lot of outdated tutorials. Thank you, for real. You just gained my like, subscription and hearth. Well done, seriously
@jayneutron
@jayneutron 5 жыл бұрын
I have come from a different tutorial and still failed after 4 or 5 hours after watching this. I followed the exact same stuff and still I am missing libraries and or dlls. I tried different SFML versions,too. Uninstalled and reinstalled Code Blocks. I finally figured it out. If you come from the same holes I came from click on menu bar option SETTINGS and click on COMPILER. This will take you to GLOBAL settings for the exact same thing here. CLICK ON RESTORE DEFAULTS. This has saved me tons of work. THEN FOLLOW THESE INSTRUCTIONS described in the video.
@RRKS_TF
@RRKS_TF 5 жыл бұрын
thanks, i was getting a similar error
@avectresormt
@avectresormt 4 жыл бұрын
u r a legend
@omarimai7428
@omarimai7428 6 жыл бұрын
guys i have the same problem first but when i uninstalled my code-block and mingw and re-downloaded the 32 version + sjls mingw , by following this video i finally compiled it successfully , thanks man great tutorial !
@floridaadventurediving144
@floridaadventurediving144 2 жыл бұрын
Sorry does not work. System Error : "The code execution cannot proceed because libgcc_s_sjlj-1.dll was not found. Reinstalling the program max fix the problem."
@MacroPixel
@MacroPixel 5 жыл бұрын
Been trying to get this to work all day, and I finally got it set up because of this tutorial. Thanks a ton!
@gonzaloacuna9197
@gonzaloacuna9197 2 жыл бұрын
U help me a lot! At the first time, it didnt worked becausa i had the wrong sfml installed. THANK U SO MUCH!
@ivonapetrovic3848
@ivonapetrovic3848 4 жыл бұрын
Very nice tutorial, easy to follow and to understand. I'm glad to hear you improved it after realizing many people were still strugling with an old one. There should be more people who are actually trying to do things better. Thanks a lot
@arionas_mc7315
@arionas_mc7315 7 жыл бұрын
I was struggling over 1 hour trying to set up SFML for Codeblocks by reading the SFML tutorial. Then I found this video and it worked! Thank you!
@shisu6870
@shisu6870 5 жыл бұрын
hopson : "if u have thoses lines then code blocks is downloaded correctly" me : don't have anything also me: " what happen if i don't have it, what should i do ?" hopson : proceed to the next step me : where's my rope ?
@IDontKnow-qs9nx
@IDontKnow-qs9nx 3 жыл бұрын
I get an error "libgcc_s_sjlj-1.dll was not found" can you plz help me fix it
@corentinlegall7777
@corentinlegall7777 7 ай бұрын
did you fixed it ? I have the same issue...
@elizaladaru7637
@elizaladaru7637 2 жыл бұрын
after weeks trying to set it up, it finally works!! thank youu
@mfourww
@mfourww 2 жыл бұрын
it says the code exucution cannot proceede libggc_s_sjlj-1.dll was not found when i try to run i have been troubleshooting for days and its not working
@corentinlegall7777
@corentinlegall7777 7 ай бұрын
did you fixed it ? I have the same issue
@sherryalaraby1755
@sherryalaraby1755 3 жыл бұрын
Important Note : You may have noticed that an annoying console appears when the GUI Appears, To disable it, Just right click the project, click Properties, select Build Targets, And choose GUI Instead of Console in the Drop-Down Box (Combo Box) Above ♥
@truenomad8898
@truenomad8898 4 жыл бұрын
I have a problem. It is written here that "cannot find -1graphics-d". Can you help me?
@cosminperram
@cosminperram 7 жыл бұрын
Thanks a lot man, this worked nice and clean! Very good video! Keep doing more like these please :D
@kaczok61
@kaczok61 6 жыл бұрын
I have one problem. Everything works when I do all the steps but when I created tamplate it doesnt.New project created from template just doesnt work. I have error: Graphics.hpp No such file directory :(
@mauricioaviles
@mauricioaviles 5 жыл бұрын
The same happens to me. There must be some step missing.
@rexroyulada6267
@rexroyulada6267 3 жыл бұрын
open your code::blocks > open settings > click compilers > go to directories files > add > go to sfml folder > done
@rexroyulada6267
@rexroyulada6267 3 жыл бұрын
@@mauricioaviles Yo, just answered this. Hope it helped
@mattdamutt5681
@mattdamutt5681 4 жыл бұрын
Took more than one attempt due to confusion with the new 64-bit code blocks version causing an inability to find files, (at least I think that's what happened) but I got it working now. Thanks.
@NeerajBatheja
@NeerajBatheja 6 жыл бұрын
100% works i had just followed extact same steps as shown and it works. commented on 12 april 2018 tested with latest version of code block and sfml
@TuanAnh-ix9xr
@TuanAnh-ix9xr 3 жыл бұрын
help me bro .It is said can not find graphics-d audio-d ..
@muhammedardaarat8617
@muhammedardaarat8617 6 жыл бұрын
I keep getting this error too: unrecognized command line option "-std=c++14" Why?
@qownson4410
@qownson4410 4 жыл бұрын
SFML my life..! Edit: Thank you so much!
@handavid6421
@handavid6421 4 жыл бұрын
Well, had some troubles along the way, and had to read some comments on the updated statues of all this to get it to work correctly, but it worked, I'm happy to start learning sfml finally.
@ninadnaval1807
@ninadnaval1807 5 жыл бұрын
I was getting the same issue as people in comment have pointed out. Procedure entry error. I solved this by using the sfml2.4.2 version instead of latest one. In the sfml download page there is a option of older version. Download the 2.4.2 one and this tutorial works fine. Hope this helps.
@patrykszelewski1949
@patrykszelewski1949 5 жыл бұрын
Thanks, it worked :)
@jobayerhasan8137
@jobayerhasan8137 2 жыл бұрын
hello there mine is still not working i need help it is telling that || siji-1.dll || not found
@corentinlegall7777
@corentinlegall7777 7 ай бұрын
did you fixed it ? I have the same issue...
@StevePaceS
@StevePaceS 4 жыл бұрын
Great tutorial, thanks a lot! Also thanks to Aryan Parekh who solved my issue by suggesting an alternative SFML version when a "-l... not found" error is encountered.
@aiex314
@aiex314 3 жыл бұрын
Which SFML version did you you instead?
@StevePaceS
@StevePaceS 3 жыл бұрын
@@aiex314 I'm pasting the comments of two other people below who provided the solution. The version by Aryan Parekh worked for me. If it doesn't work for you, try the other one. Aryan Parekh 5 months ago To all those who are facing a problem like: lgraphics-d not found etc etc Do not download the sfml option he has shown! download the GCC 7.3.0 MinGW (SEH) - 64-bit After this everything worked fine for me! xXSzynaXx 3 months ago If that's not work try GCC 7.3.0 MinGW (DW2) - 32-bit. For me it worked good. Everything else is same as in video.
@gamerversez5372
@gamerversez5372 3 жыл бұрын
Finally after wasting 2 days i installed it correctly. Thanks man
@GoldStorm07
@GoldStorm07 6 жыл бұрын
Thanks so much for this! I wanted to get SFML working outside of a virtual machine and spent all day on it until finding this video.
@elvincoskun5486
@elvincoskun5486 6 жыл бұрын
A lot of thanks man! I subscribed! I could not set up sfml with any tutorial. Thanks a lot!
@F_Du_Sea
@F_Du_Sea Жыл бұрын
Anyone else getting " libgcc_s_sjlj-1.dll" is missing?
@prelovedri3417
@prelovedri3417 4 жыл бұрын
19 NOV 2020 - Still working. Thank you so much sir
@brayanxd4547
@brayanxd4547 3 жыл бұрын
Man, thank you! I'm so grateful that it works! Thank you so much! ;)
@JoseGonzalez-rt5fk
@JoseGonzalez-rt5fk 7 жыл бұрын
Followed the tutorial exactly how you did it, but I got 21 errors running the final code. They say something like this: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale' Any help?
@Davi-c4q
@Davi-c4q 7 жыл бұрын
same. When I use loadFromFile("name"), I get "undefined reference to `_imp___ZN2sf7Texture12loadFromFileERKNSt7__cxx1112basic_string..." Any help?
@Davi-c4q
@Davi-c4q 7 жыл бұрын
After almost 1 day of struggle I found out. It turns out this tutorial is semi-outdated. the green circle worked but loadfromfile didn't. Codeblocks is now in version 17.12 and this sfml version only works completely for codeblocks 16.01. You can't use the codeblocks official link in the description anymore (at least until sfml updates or codeblocks fixes this bug). I used sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/ to get this version and I just followed the video and it worked.
@JoseGonzalez-rt5fk
@JoseGonzalez-rt5fk 7 жыл бұрын
Well, I moved on to another thing that isn't SFML. The only problem is setting it up.
@rafaellisboa8493
@rafaellisboa8493 6 жыл бұрын
same
@rafaellisboa8493
@rafaellisboa8493 6 жыл бұрын
why wouldn't I use the latest version?
@rafaellisboa8493
@rafaellisboa8493 6 жыл бұрын
I watched this video so many times i've learned it by heart lol
@sulayenhanglimboo5110
@sulayenhanglimboo5110 3 жыл бұрын
thank you so much for this ,it worked like a charm on the first try, godlike support.
@sergiorodrigo6504
@sergiorodrigo6504 7 жыл бұрын
Amazing!!! I followed step by step how it is in your video and it works (and that I speak Spanish) now I am going to try the examples with this library to have that videogames are seen. Excellent tutorial my congratulations.
@santiagofernandodelaflorgi4389
@santiagofernandodelaflorgi4389 6 жыл бұрын
it does not work. It pops the next message: he code execution cannot proceed because libgcc_s_sjlj-1.dll... Help!
@asrithsk4773
@asrithsk4773 2 жыл бұрын
This is so informative and amazing... Really liked this.
@SilentYou66
@SilentYou66 6 жыл бұрын
Thanks for your video! It helped me a lot by setting up my first (and template project) with SFML :)
@Zayin26
@Zayin26 7 жыл бұрын
Regrading Entry Point Errors and the dll's that were copy/pasted: For those of you with a pre-existing MinGW install, fair warning: Code::Blocks may use that one and you will get errors about the dll's; a set of Entry Point errors. To fix this just go to the top bar of Code::Blocks, Settings, Compiler, Global Compiler Settings, Toolchain Executables, and change the field labeled "Compiler's installation directory" to be the MinGW folder in your Code::Blocks install. For me it was C:\Program Files (x86)\CodeBlocks\MinGW. The program files are all the same so just changing the directory should fix the problem. The internet would have you believe you must recompile SFML, but Code:Blocks currently comes with the right compiler, if you get these errors it just means it defaulted to a pre-existing (and wrong) version. Which you can fix much faster than recompiling SFML. Unless you want SFML in that version, in which case by all means recompile it with that version of MinGW/GCC.
@Meep3692
@Meep3692 7 жыл бұрын
Thank you, this fixed the unrecognized -std=c++14 error some people were getting
@nendor1000
@nendor1000 7 жыл бұрын
Thanks
@amo6139
@amo6139 7 жыл бұрын
OMG THANK YOU U SAVED ME LIKE 20 HOURS OF WORK
@_marcioeric
@_marcioeric 7 жыл бұрын
Dude, thank you, you just saved me a lot of time and deceptions
@RockMore
@RockMore 5 жыл бұрын
//Testing code was missing from video description, so copy from here if you want. #include int main() { sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!"); sf::CircleShape shape(100.f); shape.setFillColor(sf::Color::Green); while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)) { if (event.type == sf::Event::Closed) window.close(); } window.clear(); window.draw(shape); window.display(); } return 0; }
@NIGHTANGLETV
@NIGHTANGLETV Жыл бұрын
I can't copy it
@orderofchaos8680
@orderofchaos8680 3 жыл бұрын
I have tried so many times but constantly got “cannot find -sfml-graphics-d”and or the things ended with "-d"
@ali-lw3wu
@ali-lw3wu 7 жыл бұрын
I keep getting this error: The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library C:\PathToCodeBlocksProject\sfml-graphics-d-2.dll. (Same for window and system) Does anyone know the solution? Could it be the dependencies?
@jordangaines496
@jordangaines496 7 жыл бұрын
Same
@niklasaichinger8281
@niklasaichinger8281 6 жыл бұрын
I have the same problem!
@petarmarkovic5590
@petarmarkovic5590 6 жыл бұрын
have you ever found a solution?
@niklasaichinger8281
@niklasaichinger8281 6 жыл бұрын
GosNN Petar I am now using Visual Studio 2017 there it workes perfectly
@petarmarkovic5590
@petarmarkovic5590 6 жыл бұрын
it's quite buggy for me :(
@alexandrugabriel9202
@alexandrugabriel9202 5 жыл бұрын
Thank you, it works on 01-09-2019. If it doesn't work for you, make sure you download the latest version of code blocks.
@flyingboat10
@flyingboat10 7 жыл бұрын
It works! Thank you so much! Also, there is a typo at 5:35. You checked a box that had C++ 11 when you stated in the video that you need C++ 14. I just created a flag manually to be safe.
@Hypersystemoff
@Hypersystemoff 5 жыл бұрын
February 17 / 2019 I followed this tutorial and works perfectly fine still. I had an error at first because when I tried to run the SFML program. The problem was that I downloaded both Visual Studio and CodeBlocks SFML libraries and mixed up the .dll files. So just be sure to download the correct SFML files for the IDE you're using.
@felixriddle
@felixriddle 5 жыл бұрын
You missed one .dll file at 7:28
@baze3541
@baze3541 4 жыл бұрын
Not an sfml file
@rafaellisboa8493
@rafaellisboa8493 6 жыл бұрын
I realized what my error was, I downloaded SFML 64-bit because I didn't think it would make a difference (my computer is 64-bit), thank you so much!
@J4ap0on3es
@J4ap0on3es 7 жыл бұрын
till the red circle is all ok, then I "couldn't create directory for user template C:\Program files(x86)\CodeBlocks\AppData\CodeBlocks\UserTemplate " why this happens??
@havanufmtg271
@havanufmtg271 4 жыл бұрын
For those watching this in 2020 and beyond, this did not work for me as stated in the video. BUT this is how I fixed it. I installed Code::Blocks 20.03 which came out in March of 2020. The version of SFML i installed was 32 bit, when code blocks was 64 bit. So on the SFML web site I downloaded and installed GCC 7.3.0 MinGW (SEH) - 64-bit and the application worked for me.
@louancamacho506
@louancamacho506 4 жыл бұрын
Really ??
@Enchant3ddd
@Enchant3ddd 5 жыл бұрын
Thank you, it worked at the first time!
@Coolide
@Coolide 7 жыл бұрын
hey Hopson, I really appreciate your video, I just have one problem, when i release it, it says "fatal error SFML/Grapics.hpp: No such file or directory" what is the solution?
@_Zettai
@_Zettai 2 жыл бұрын
+
@atrumluminarium
@atrumluminarium 6 жыл бұрын
My templates are not saving for some reason. It says "failed to create directory for project file" and then "some files could not be saved with the template". Also I am getting an issue where the debug and run within codeblocks works splendidly but when I try to run the release build exe it doesn't find the dll files
@Dima-Teplov
@Dima-Teplov 3 жыл бұрын
Awesome tutorial! Many thanks! :)
@MakkaPakka7999
@MakkaPakka7999 3 жыл бұрын
Mine doesn't work. When i click build, it builds for a few secs. then when i click run, it says "you haven't built anything, want to build?" I click yes, but it still doesn't build. I know it probably is something i have done, but i don't know.
@ArhamKhan05
@ArhamKhan05 2 жыл бұрын
it works, thanks, but when I use texture.loadFromFile(); it gives error of "undefined reference to _imp_" something like this can you help me with this.
@axyz.airsoft
@axyz.airsoft 5 жыл бұрын
i have a problem, it compile fine but throws an error in the runtime, missing libgcc_s_sjlj-1.dll reinstall to fix, help pls
@dimitrisbellos01
@dimitrisbellos01 5 жыл бұрын
Same problem here
@aoguthix3147
@aoguthix3147 5 жыл бұрын
@@dimitrisbellos01 same problem here x2 help
@aoguthix3147
@aoguthix3147 5 жыл бұрын
@@dimitrisbellos01 i fix that error by searching the file in my pc and paste it in the project folder but now a have another error with other file :C
@viratKohli-kc9rn
@viratKohli-kc9rn 9 ай бұрын
Bro it says the procedure entry point_ZSt28_throw_bad_new_lengthv could not be located in the dynamic link Library
@sampleee
@sampleee 5 жыл бұрын
The code execution cannot proceed because libgcc_s_sjlj-1.dll was not found. Reinstalling the program may fix this problem.
@corentinlegall7777
@corentinlegall7777 7 ай бұрын
did you fixed it ? I have the same issue
@nahelvaldez3062
@nahelvaldez3062 4 жыл бұрын
Thank you very much! I was looking for a tutorial in spanish but none of them worked, seriously thanks a lot!
@adam120yep5
@adam120yep5 2 жыл бұрын
I love you man you just fixed my issue
@idk5472
@idk5472 3 жыл бұрын
it said cannot find -lsfml-graphics-d
@josephmckelvin0
@josephmckelvin0 4 жыл бұрын
I cant enter the SFML Website. It's says "ERR_SSL_PROTOCOL_ERROR"
@asmaa112shaaban2
@asmaa112shaaban2 3 жыл бұрын
I cannot understand the seventh step Move the print version to any folder help, please?
@anandh4837
@anandh4837 4 жыл бұрын
7:27 you did'nt select openal32.dll file. Is it ok ?
@lolzmcfree6996
@lolzmcfree6996 7 жыл бұрын
I followed the steps exactly, but whenever I try to run the program I get this error libgcc_s_sjlj-1.dll is missing plz help
@orocimarosay1447
@orocimarosay1447 7 жыл бұрын
Make shure you have downloaded the 32 bit version of sfml
@LevieliseReal
@LevieliseReal 5 жыл бұрын
Ok, so, I downloaded and installed everything, all fine and well, but when I try to run the code given in the description, my security doesn't allow me to open SFML, because: "A file or program has triggered a DeepGuard heuristic detection because it performs (or contains instructions for) actions that resemble known harmful programs." The thing is, the link for SFML givin in the description literally forbids me to visit it, so I had to go around that. Could it be that I ended up dowloading a wrong version or something?
@TumbleGamerTK
@TumbleGamerTK 7 жыл бұрын
7:27 you didn't you add openal32.dll and I finished video 6 and now I have an error saying openal32.dll was not found
@LosashExote
@LosashExote 7 жыл бұрын
Did everything exactly as tutorial said and it worked.
@tut8623
@tut8623 Жыл бұрын
GREAT tutorial ! LOVE IT !
@Hopsonn
@Hopsonn 11 ай бұрын
Glad you liked it! :)
@PHANTOM-xt9ql
@PHANTOM-xt9ql 4 жыл бұрын
So many thanks! You made my day buddy!
@electricengine8407
@electricengine8407 5 жыл бұрын
The linkers dont seem to work when i try to run the exe in the bin folders, it shows 3 error windows: cannot find smfl-window-2.dll, cannot find smfl-system-2.dll, cannot find smfl-graphics-2.dll EDIT: HOW To fix: First look at your error messages, If it says something like ”missing file: remember that name, Then go to where you downloaded SFML And open the folder ”lib” then look for your file in that folder and you should find it, copy it and paste it in your projects bin folders(projectName/bin/debug and projectName/bin/release), REPEAT THIS process untill there are No errors left and your project should work when running the exe file when Codeblocks isnt opened. Its a fix that i found!!
@manalpha8183
@manalpha8183 5 жыл бұрын
hi bro first even i got same error so do some steps STEP 1:In the project's "Build options", "Search directories" tab, add: The path to the SFML headers (/include) to the Compiler search directories The path to the SFML libraries (/lib) to the Linker search directories STEP 2: THEN SELECT THE DEBUG OPTION IN DEBUG THE SELECT THE LINKER IN LINKER ADD THE "sfml-graphics-d sfml-system-d sfml-window-d" then save ! NOW AFTER SAVING IT STEP 3: IN RELEASE OPTION SELECT THE LINKER ADD THESE "sfml-graphics sfml-system sfml-window" then save ! THEN BHOOM U CAN EXECUTE IT ! WITHOUT ANY ERROR
@carltoncooke1622
@carltoncooke1622 4 жыл бұрын
@@manalpha8183 still same error
@razvanpacku9784
@razvanpacku9784 7 жыл бұрын
I've followed your instructions and when I try to run the program,a error box pops up saying "The procedure entry point _ZSt24__throw_out_of_range_fmtPKcz could not be located in the dynamic link library sfml-graphics-2.dll".How do I fix this?
@fromant65
@fromant65 7 жыл бұрын
i have the same problem
@orocimarosay1447
@orocimarosay1447 7 жыл бұрын
same problem :(
@orocimarosay1447
@orocimarosay1447 7 жыл бұрын
it happens only when i try to run the program from outsidethe codeblocks (and yes i have already included the ddls in the corect directory)
@kiva8986
@kiva8986 7 жыл бұрын
I have the same issue www.cplusplus.com/forum/beginner/102602/ might help
@navaneeth6157
@navaneeth6157 6 жыл бұрын
did u fix this?
@iroquoispliskin4853
@iroquoispliskin4853 3 жыл бұрын
Thank you Hopson.
@MiSt3300
@MiSt3300 4 жыл бұрын
it works for me here! Thanks Hopson!
@yeen5657
@yeen5657 4 жыл бұрын
c:\mingw\include\wctype.h|87|fatal error: stddef.h: No such file or directory| I got this error when I compile my helloworld. HELP!
@TheWickedApple
@TheWickedApple 7 жыл бұрын
Mine says fatal error: SFML/Graphics.hpp: No such file or directory.
@mateuszwisniewski4991
@mateuszwisniewski4991 4 жыл бұрын
What should i do if codeblocks cannot find libraries?
@nemuchan200
@nemuchan200 7 жыл бұрын
Did you delete the SFML/C++ game engine tutorial I cant seem to find it :(
@Hopsonn
@Hopsonn 7 жыл бұрын
Not deleted Just hidden kzbin.info/aero/PLMZ_9w2XRxiaz3_mrIviTEg4-BcFFjFDS I feel they were not very good lol
@nemuchan200
@nemuchan200 7 жыл бұрын
Actually they were good, I tried an other similar Tutorial about a game engine AND NOPE yours is better at least to me Thank you so much for sharing the link ! :D
@renzkoh
@renzkoh 3 жыл бұрын
I ran this code and the output i get isssssss "Cannot find -lsfml-graphics-d" *YAY* (Please help me with this)
@Cici1kus
@Cici1kus 6 жыл бұрын
if you have any error like "...\main.cpp|1|fatal error: SFML\graphics: No such file or directory|" close program. it askes "... do you want to save it?" say yes and re-open. closing and opening may solve other problems.
@AdminBenni
@AdminBenni 7 жыл бұрын
This fantastic video saved my life!
@Hopsonn
@Hopsonn 7 жыл бұрын
Glad to hear it! :D
@kaleemkhattak124
@kaleemkhattak124 7 жыл бұрын
after compilation and running nothing appears in graphic window and minimizing and then maximizing it i can see the green circle why it is so?
@busterzz
@busterzz 6 жыл бұрын
Seriously, @3:11, which one is it? You said click project name but when you are looking for Search Directories, DEBUG is highlighted in the background!
@Hopsonn
@Hopsonn 6 жыл бұрын
busterzz project name
@draganjonceski2639
@draganjonceski2639 5 жыл бұрын
Thank you! but where did your sfml engine tutorial playlist go man?
@soisauce364
@soisauce364 3 жыл бұрын
there is an error it said |fatal error: SFML/Graphics.hpp: No such file or directory
@tx6723
@tx6723 5 жыл бұрын
yay this one worked ive been trying to get sfml to work with codeblocks on windows for months cause i love open source ide thanks! maybe consider doing a cocos2dx + codeblocks with windows installation tutorial?
@sanderthorsen9856
@sanderthorsen9856 3 жыл бұрын
Programerror when I try to run it, what should I do??
@InnerGlowUpp
@InnerGlowUpp 5 жыл бұрын
It worked but I get Visual Studio Just-In-Time Debugger how to get rid of it?
@gage2560
@gage2560 7 жыл бұрын
tried to setup in eclipse it did compile and no error, but it didn't launch help...
@zed_a99
@zed_a99 5 жыл бұрын
this is still working in 2020 .. Thanks bro
@mayankrawat423
@mayankrawat423 4 жыл бұрын
it says it cannot find the graphics , audio etc all those files and thus cannot run the programe
Forbidden C++
33:07
javidx9
Рет қаралды 1 МЛН
Voxel Game Mesh Optimizations
7:30
Hopson
Рет қаралды 179 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
SFML Codeblocks Easy setup
13:24
FF Dev
Рет қаралды 1,5 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,1 МЛН
How to Crack Software (Reverse Engineering)
16:16
Eric Parker
Рет қаралды 784 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 148 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
Cross Platform Graphical User Interfaces in C++
44:49
javidx9
Рет қаралды 874 М.
Malware Development: Processes, Threads, and Handles
31:29
This Zsh config is perhaps my favorite one yet.
17:24
Dreams of Autonomy
Рет қаралды 283 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН