Installing Sfml (Codeblock) version

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ต.ค. 2024
  • SFML INSTALL TUTORIAL LINK
    www.sfml-dev.o...
    SFML DOWNLOAD PAGE
    www.sfml-dev.o...
    CODE BLOCK MINGW DOWNLOAD PAGE
    make sure to download mingw version it comes with compiler
    sourceforge.ne...
    LINKER FILES (debug)
    sfml-window-d
    sfml-system-d
    sfml-graphics-d
    sfml-network-d
    sfml-audio-d
    LINKER FILES (release)
    sfml-window
    sfml-system
    sfml-graphics
    sfml-network
    sfml-audio

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

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

    I watched 30 tutorials about it and your's finnaly worked! Wideo with 515 views isn't easy to find

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

      Thank u very much just share, like and subscribe.. I will bring more later

  • @petersburgawinbe-yisazuah8032
    @petersburgawinbe-yisazuah8032 2 ปีที่แล้ว

    Thanks man , ive been trying to do this for months now

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

      U welcome and dont forget to subscribe for more

  • @MobinaMohammadi-my1nk
    @MobinaMohammadi-my1nk 3 หลายเดือนก่อน

    Thanks very much 🎉🎉🎉🎉🎉🎉🎉🎉😮❤

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

    Thanks Man :)

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

      u welcome

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

    Thanks

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

    Thanks allot🙏💯

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

      U welcome

  • @David-ou2fu
    @David-ou2fu 11 วันที่ผ่านมา

    I am so close, I have a problem. It says entry point not found. Can you contact me? Your the only video that worked.

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

    This worked but if you re run your executable outside of the compiler then there are missing the dlls, but even if you put all the dlls that are missing then you will have the final error "The application was unable to start correctly". Maybe they weren't compiled static.

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

      any screen shot

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

      @@EricusIT I do not have currently a screenshot because I stopped using sfml for now. If I will retry to compile it again I will post.

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

    Koblo

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

    I did all the directions you gave (downloading the same versions of Codeblocks and SFML you did, and made all of the changes in the build options you did), but when I built it, I got several errors, most were "undefined reference to `_imp___[seemingly random characters]'". Do you (or anyone else) know what is causing this error? I am using Windows 7 Ultimate (with Service Pack 1). Here is the full error message:
    (My computer username is 'ORCA', and my Codeblocks project is called 'koblo')
    ||=== Build: Debug in koblo (compiler: GNU GCC Compiler) ===|
    obj\Debug\main.o(.text+0x1ea)||In function `main':|
    C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|5|undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'|
    obj\Debug\main.o(.text+0x228):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|5|undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'|
    obj\Debug\main.o(.text+0x27c):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'|
    obj\Debug\main.o(.text+0x337):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|6|undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'|
    obj\Debug\main.o(.text+0x348):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|7|undefined reference to `_imp___ZN2sf5Color5GreenE'|
    obj\Debug\main.o(.text+0x35a):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|7|undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'|
    obj\Debug\main.o(.text+0x374):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|9|undefined reference to `_imp___ZNK2sf6Window6isOpenEv'|
    obj\Debug\main.o(.text+0x3a0):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|12|undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'|
    obj\Debug\main.o(.text+0x3c7):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|15|undefined reference to `_imp___ZN2sf6Window5closeEv'|
    obj\Debug\main.o(.text+0x3f9):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|18|undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'|
    obj\Debug\main.o(.text+0x420):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|18|undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'|
    obj\Debug\main.o(.text+0x427):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
    obj\Debug\main.o(.text+0x446):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
    obj\Debug\main.o(.text+0x456):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|20|undefined reference to `_imp___ZN2sf6Window7displayEv'|
    obj\Debug\main.o(.text+0x48d):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
    obj\Debug\main.o(.text+0x52e):C:\Users\ORCA\Documents\Entertainment\programming\C++ save\koblo\main.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
    obj\Debug\main.o(.text$_ZN2sf11CircleShapeD1Ev[sf::CircleShape::~CircleShape()]+0xa)||In function `ZN9__gnu_cxx13new_allocatorIcE10deallocateEPcj':|
    C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\include\c++\3.4.2\bits\allocator.h||undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
    obj\Debug\main.o(.text$_ZN2sf11CircleShapeD1Ev[sf::CircleShape::~CircleShape()]+0x1a):C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\include\c++\3.4.2\bits\allocator.h||undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
    obj\Debug\main.o(.text$_ZN2sf11CircleShapeD1Ev[sf::CircleShape::~CircleShape()]+0x2a):C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\include\c++\3.4.2\bits\allocator.h||undefined reference to `_imp___ZN2sf5ShapeD2Ev'|
    ||=== Build failed: 19 error(s), 0 warning(s) (0 minute(s), 2 second(s)) ===|
    ORCA\

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

      like what

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

      @@EricusIT Just any cause for the error that could easily be fixed, by changing some settings, downloading a library that is needed, reinstalling a program or library, or any change needed that would make it so the program works, instead of having the error I mentioned.

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

      @@fould13 make sure u type the linked library name very well, spell them well

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

      @@EricusIT Okay, I might try looking over the names I used, just to make sure I didn't mis-spell anything.