Linking SFML 2.6.1 in Visual Studio 2022 for Windows (Updated shorter version for 2022!)

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 44

  • @SurajSharmaFourKnob
    @SurajSharmaFourKnob  7 месяцев назад +4

    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)

  • @fourteensouls
    @fourteensouls Месяц назад +1

    after going through several tutorials for this, this was the only one that ended up working. thank you so much, very appreciated.

  • @chrisowens3211
    @chrisowens3211 Месяц назад +1

    I kept mucking this up by myself. Watched your tutorial and it worked first time - thank you!

  • @walkastray007
    @walkastray007 Месяц назад +1

    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

  • @BenCorvo-iy1nc
    @BenCorvo-iy1nc 3 месяца назад +1

    As you mentioned it was straight to the point linking SFML dynamically, thanks so much!

  • @brajki6364
    @brajki6364 4 месяца назад +1

    Thank you a lot for the tutorial! It clarified some things that the SFML guide didn't specifically mention.

  • @Logical7787
    @Logical7787 2 месяца назад +3

    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.

    • @Goodguide-fg2pn
      @Goodguide-fg2pn Месяц назад

      What about the other tabs i did create a main file but it dznt shows other tabs

  • @JaimePerez-o1e
    @JaimePerez-o1e 3 дня назад

    thanks bro I needeed this for a class project. Easy to follow and it saved me !

  • @Thegamer-xx1xc
    @Thegamer-xx1xc 2 месяца назад +1

    Thank you so much. I spent so long trying to do this and this video was finally the one that was actually useful.

  • @abedalraoufzeidan1461
    @abedalraoufzeidan1461 Месяц назад +1

    this is the only tutorial that worked for me thanks

  • @maryamsindhu3135
    @maryamsindhu3135 День назад

    dudee you're a lifesaver!! 👍

  • @MrSomethingdark
    @MrSomethingdark 2 дня назад

    I swear this is a fever dream

  • @duckmiru_quack
    @duckmiru_quack 28 дней назад +1

    Thank you!!

  • @Scwonch
    @Scwonch 5 месяцев назад +2

    the best video. thanks buddy really appreciate it!!!!!

  • @MuhammadAhmed-jn8vp
    @MuhammadAhmed-jn8vp 6 дней назад

    Where should the external folder be placed ? within the same directory as the main.cpp ?

  • @naitsabboulogne7643
    @naitsabboulogne7643 6 месяцев назад +2

    Any hope of a future new SFML game serie ? :P
    I'm curious about Vampire Survivor style

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  6 месяцев назад +2

      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 :)

  • @Courage_the_Cowordly_Dog
    @Courage_the_Cowordly_Dog 3 месяца назад +1

    *_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*

  • @Amro_zaid1
    @Amro_zaid1 6 месяцев назад +2

    Thanks man ❤️

  • @monostechhelp1143
    @monostechhelp1143 Месяц назад +1

    Thankyou so much sir

  • @FishyRadioactivity030
    @FishyRadioactivity030 6 месяцев назад +4

    just curious, how different would this be in comparison to x64 ?

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  6 месяцев назад +2

      It would be the same process but you would refer to the x64 in all steps.

  • @MrSomethingdark
    @MrSomethingdark 2 дня назад

    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!

  • @josearmandocastruita2929
    @josearmandocastruita2929 6 месяцев назад +4

    your a fucking god bro, could you make a video where you put a song in a programs pls. Its for a final project

  • @lampartzjardu7734
    @lampartzjardu7734 5 месяцев назад +2

    Thanks a lot :)

  • @GauravRaut-mr7qc
    @GauravRaut-mr7qc 3 месяца назад +1

    finally it worked

  • @rafelockhart1659
    @rafelockhart1659 Месяц назад

    mine deletes the executable when run it causing an error but im on 64 bit

  • @dsmart1677
    @dsmart1677 2 месяца назад +1

    Can you do a video on how to link SFML to Code::Blocks? Thank you

  • @joshiitheone9126
    @joshiitheone9126 6 месяцев назад +3

    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.

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  6 месяцев назад +1

      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.

  • @Adamskade
    @Adamskade Месяц назад

    There is still some red underlines how do I fix them

  • @oneplayerparty9716
    @oneplayerparty9716 5 месяцев назад +2

    so i have to repeat all this for every different project i want to make with sfml?

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  4 месяца назад +1

      Hmm you could copy the project that has the linked stuff

  • @anthonysteinerv
    @anthonysteinerv 6 месяцев назад +3

    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.

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  6 месяцев назад +1

      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!

  • @sgzz1024
    @sgzz1024 Месяц назад +1

    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?

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  Месяц назад

      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

  • @RSSJ2004
    @RSSJ2004 5 месяцев назад +2

    I love you bro

  • @3f3f-y4m
    @3f3f-y4m 6 месяцев назад +2

    text is too small