Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vista unable to run simple project  (Read 1390 times)

0 Members and 1 Guest are viewing this topic.

Observ

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Vista unable to run simple project
« 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
« Last Edit: March 19, 2022, 09:14:10 pm by Observ »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Vista unable to run simple project
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/