SFML community forums

Help => General => Topic started by: Observ on March 19, 2022, 09:08:11 pm

Title: Vista unable to run simple project
Post by: Observ on March 19, 2022, 09:08:11 pm
Hi, trying to setup CodeBlocks on an OKI laptop with Windows Vista
Please consider I'm almost a veteran , only that in this computer (recently donated, from 2012 or so) I'm unable to put things running.
I Followed the official tutorial.
 compiler : MinGW
The Code is the classic main.cpp in sfml and C::B (MINGW).  2.4 Tutorials
Sfml 2.4.2 Windows gcc 6.1.0 mingw32bit
I unzipped It on program files
I created empty project , selected GUI application and so on ..
I made sure all the paths OK
In project build options I put the paths not only in Debug, in Release, and in their upper tree (name of my project)
Same with the libraries...

It compiles but in spite of put the DLLs in Debug folder It gives the error (sorry , it's translated from spanish)  :    procedure entry point not found _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEj on dynamic link library libstdc++-6.dll
I accept and it Crash

Any thoughts??
Thanks in advance



I'm sorry, wrong subforum,can mods move to help\general?Thanks
Title: Re: Vista unable to run simple project
Post by: eXpl0it3r on April 13, 2022, 10:19:44 am
Any reason to stick to SFML 2.4.2 instead of getting 2.5.1?

The error means that you're using different runtime versions for std::string.
The easiest is to build SFML with the same compiler and compiler settings, than you'll be using on your own project.