sfml 2.1 install guide codeblocks

mack44halo3 · 14K views · 2013 · 19:25

Open on YouTube

C, C++, Rust, Go & systems languagesTesting, debugging & developer toolstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or citing problems getting SFML 2.1 to build in Code::Blocks on Windows, even though several note it did not fully fix their C++11 errors.

Recommended by 1 people across 1 different months, 2013 to 2014.

What it is

A 19-minute screencast from 2013 showing how to install SFML 2.1 on Windows with MinGW and Code::Blocks, including linker flags such as -static-libgcc, -static-libstdc++ and -std=c++11. The description lists download links, the install order, and an optional patch for std::to_string on MinGW.

What people said

Recommends Harlow44 · 2013-08 · Stack Overflow · on “Trouble setting up SFML in Code::Blocks”

[this video] check out that video and see if it helps you I set up this tutorial for using sfml 2.1 but if you're using windows 7 it should work for you

Cites Tom · 2013-12 · Stack Overflow · on “C++ Code::blocks difficulty compiling”

I just re-installed my codeblocks, minGW and SFML following this tutorial [this video] however I have still gotten the same error messages.

Cites user3113547 · 2014-01 · Stack Overflow · on “Some C++11 features missing when using Code Blocks 13.12, MinGW 4.8.1 and SFML 2.1”

Turning to Stack Overflow after exhausting all my efforts. I'm running Code Blocks 13.12 and MinGW 4.8.1 on a Windows 7 OS 64bit system. I spent two days trying to get the compiler to link (statically) to the SFML 2.1 library. I followed both the SFML tutorial [LINK] and this [this video] video tutorial- reinstalling both Code Blocks and MinGW twice before it finally linked. After that I was relieved that SFML was recognized, but I got 50 errors when I tried to build and run that suggested C++11 features weren't. Added -std=gnu++11 to compiler options and 13 of those errors went away. The remaining errors all fall into two categories: mutex is not a member of std and from time t is not a member o

Cites nodakai · 2014-08 · Stack Overflow · on “Code::Blocks not compiling release for SFML project”

I've seen a few guys who couldn't even get their first project running with Code::Blocks, so I strongly recommend you to throw it away and switch to Visual C++. Because I assume your final goal is not to become an expert of C++ compiler and software development toolkits, but to present your creativity to the world through your product. (Maybe you can even throw away C++ in favor of Unity but I'm not an expert of it.) If you are committed to using Code::Blocks, these articles might help: [this video] [LINK] (I recommend you to read them because of my general knowledge on trickiness of using MingW)