How to install SFML with VS Code on Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024

ความคิดเห็น • 55

  • @abdullahmertozdemir9437
    @abdullahmertozdemir9437 2 ปีที่แล้ว +5

    it is "C:\SFML-2.5.1\include" for those of you who may have copied something else in the meantime

  • @claytoncotter5252
    @claytoncotter5252 ปีที่แล้ว +1

    Truly astounded that I spent 3 hrs looking up how to do this, and the only video that actually gets it to work is a muted video by someone who has 40 subscribers. I have no clue why it was this hard.

    • @TommasoFerronato-lw2zt
      @TommasoFerronato-lw2zt 7 หลายเดือนก่อน

      i'm an italian student i spent like 1h searching how to instal this thing, im crying

  • @johnhouser3673
    @johnhouser3673 2 ปีที่แล้ว +5

    unable to link from lib folder. Tried from dll's in bin folder and didn't work either. I watched a video a month ago that setup up vs code with sfml and it worked but I can no longer get it to work and can't find the video. I must be missing a step. The video had me create include and lib folders and put the corresponding files from SFML folder and copy paste the bin files (dll's) into same directory where main.cpp was located. Used task.json to setup compiler and it worked then but not now. vs code can't find SFML/Graphics.hpp

  • @kyparis616
    @kyparis616 ปีที่แล้ว +8

    Привет, я студент из России и я очень благодарен тебе за твой молчаливый, но содержательный ролик. С SFML я мучался всю ночь, пролистал кучу форумов и только твой ролик смог мне помочь! Огромное спасибо

    • @maximilianograciahernandez8469
      @maximilianograciahernandez8469 3 หลายเดือนก่อน +1

      Yo igual estoy estudiando, pero soy de Mexico y este fue el único que me está ayudando

  • @talalpakturk9023
    @talalpakturk9023 2 ปีที่แล้ว +7

    the only tutorial that worked. been trying to set it up for 4 hours.

  • @amadinsix7359
    @amadinsix7359 8 หลายเดือนก่อน +1

    Thank you. have bin trying to get sfml started for about 3 weeks. now i can finally start with my project.

  • @ozangozoglu6155
    @ozangozoglu6155 ปีที่แล้ว

    How can I copy the SFML DLLs, i cant do it. Where did you get that link from bruv

  • @TrASH000
    @TrASH000 ปีที่แล้ว +1

    It's WORKED!!! Thank's for this video!!!

  • @gamingpcgamer459
    @gamingpcgamer459 4 หลายเดือนก่อน

    I cannot thank you enough i have been struggling with sfml setup for so long if i could give 1k subs to you i would. But a quick question is there a faster way of actually excuting the code because everytime i update the code i have to link it again

  • @thomaszhang4765
    @thomaszhang4765 ปีที่แล้ว +1

    Very nice, with a little tweaking from my side I finally got it working. Thank you!

    • @Muzan-
      @Muzan- 11 หลายเดือนก่อน

      tweaking for what?
      it didn't work for me, it sais : cannot find -lsfml-graphics c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lsfml-system

  • @BryanAnderson-o1u
    @BryanAnderson-o1u ปีที่แล้ว

    thank you it accaully worked none of the others seemed to

  • @oryswo
    @oryswo ปีที่แล้ว +2

    it doesn't work

    • @ozangozoglu6155
      @ozangozoglu6155 ปีที่แล้ว

      hey mine didnt work also, did you find a way to make it work?
      pls share it

  • @exoriumyt
    @exoriumyt 2 ปีที่แล้ว +3

    -LC:\SFML-2.5.1\lib .\test.o -o app.exe -lmingw -lsfml-graphics -lsfml-window -lsfml-system -lsfml-main -mwindows, this part doesn't work for me
    Can you help?

    • @asamiri
      @asamiri  2 ปีที่แล้ว

      What's the error message?

    • @theknight7302
      @theknight7302 2 ปีที่แล้ว +3

      @@asamiri i think its because he wrote "-lmingw" instead of "-lmingw32"

    • @rainbow_jzy
      @rainbow_jzy 2 ปีที่แล้ว +1

      @@theknight7302 i think his mingw is not the right version

    • @donnymontreano9235
      @donnymontreano9235 2 ปีที่แล้ว

      @@theknight7302 Yes it is true. Moreover, I am installing and using mingw64 and it works as well. I can not use -lmingw64. VScode said cannot find it. So I'm not sure was it works on 64 bit ??

    • @rotendamantsha2729
      @rotendamantsha2729 2 ปีที่แล้ว

      @@donnymontreano9235 I am getting errors and I am using using mingw64...did it work for you

  • @RASHIDKHAN-kq3tt
    @RASHIDKHAN-kq3tt 7 หลายเดือนก่อน

    Please sir explained me 6:32 what happened

  • @arinifatihah2671
    @arinifatihah2671 ปีที่แล้ว

    my mingw version is 8.1.0, is that problem?

    • @arinifatihah2671
      @arinifatihah2671 ปีที่แล้ว

      alright the problem is i need to delete the minwg\bin from system environment and put it in the user

  • @Unitywazaski
    @Unitywazaski 2 หลายเดือนก่อน

    Gracias es el video que necesitaba para poder usar sfml

  • @rojansmm1981
    @rojansmm1981 2 ปีที่แล้ว +1

    thanks, you're a great help

  • @ImHlkari
    @ImHlkari หลายเดือนก่อน

    SFML/Graphics.hpp: No such file or directory

  • @TechnologyRecords
    @TechnologyRecords 2 ปีที่แล้ว +2

    MashAllah it worked.

  • @refl1x362
    @refl1x362 2 ปีที่แล้ว +1

    IT worked thanks!

  • @legrandtiasma
    @legrandtiasma 2 ปีที่แล้ว +1

    A peine le temps de recompiler et tu m'aides

  • @arpeetchandane4986
    @arpeetchandane4986 2 ปีที่แล้ว

    thank you This worked !!

  • @gitnaxt2868
    @gitnaxt2868 ปีที่แล้ว

    Wow It's worked.!!!!!!

  • @govinddwivedi582
    @govinddwivedi582 ปีที่แล้ว

    6:32

  • @StupidFolk45
    @StupidFolk45 2 ปีที่แล้ว +2

    In
    g++ -IC:\SFML-2.5.1\include\ -c main.cpp -o test.o
    it show fatal error : SMFL/Graphics.hpp : no such file directory. How to solve it?

  • @qu3ntmadmusic356
    @qu3ntmadmusic356 ปีที่แล้ว +2

    Lorsque je lance le .exe j'ai "Le point d'entrée de procédure _ZN....._los_Openmode est introuvable dans la bibliothèque de liens dynamiques C:\SFML\bin\sfml-sytem-2.dll.".
    J'ai mingw64 et SFML GCC 7.3.0 MinGW (DW2)

  • @marcosviniciusm.s.2704
    @marcosviniciusm.s.2704 2 ปีที่แล้ว +5

    for me it returns a lot of undefined things like: main.o:main.cpp:(.text+0x7c): undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'

  • @nerminesboui
    @nerminesboui 8 หลายเดือนก่อน

    Hi Ahmed Samir, I hope this message finds you well. I need your help, as I am unable to install SFML in any way, and it's driving me crazy. Could you please provide me with your email? Thank you.