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

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

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

  • @SurajSharmaFourKnob
    @SurajSharmaFourKnob  5 месяцев назад +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)

  • @chrisowens3211
    @chrisowens3211 7 дней назад +1

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

  • @Thegamer-xx1xc
    @Thegamer-xx1xc 14 дней назад +1

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

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

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

  • @Logical7787
    @Logical7787 13 дней назад +2

    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.

  • @josearmandocastruita2929
    @josearmandocastruita2929 4 месяца назад +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

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

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

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

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

  • @Courage_the_Cowordly_Dog
    @Courage_the_Cowordly_Dog Месяц назад +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*

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

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

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

    finally it worked

  • @sgzz1024
    @sgzz1024 7 дней назад +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  2 дня назад

      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

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

    Thanks a lot :)

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

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

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

      Hmm you could copy the project that has the linked stuff

  • @anthonysteinerv
    @anthonysteinerv 5 месяцев назад +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  5 месяцев назад +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!

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

    I love you bro

  • @walkastray007
    @walkastray007 2 дня назад +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

  • @joshiitheone9126
    @joshiitheone9126 4 месяца назад +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  4 месяца назад +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.

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

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

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

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

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

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

    • @SurajSharmaFourKnob
      @SurajSharmaFourKnob  5 месяцев назад +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 :)

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

    Thanks man ❤️

  • @n1tr0-b9c
    @n1tr0-b9c 4 месяца назад +2

    text is too small