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

Author Topic: the procedure entry point ... in the dynamic link library.. libstdc++-6.dll  (Read 6194 times)

0 Members and 1 Guest are viewing this topic.

rld001

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFML build error, have followed this http://www.sfml-dev.org/tutorials/2.2/start-cb.php for codeblocks. Am using GNU GCC Compiler.

the procedure entry point _zst24_throw_out_of_range_fmtPKcz could not be located in the dynamic link library libstdc++-6.dll

Solution to this?

DLL files are in the root file. Is this correct?

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Sounds like there's a different version of that dll somewhere in your PATH.

bigHeadPigeon

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi, I got the excact same error.. I have no idea what to do. I have followed the instructions to the best of my knowledge. Any input on how to search for errors?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Go to you system settings and see what the PATH variable holds.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

bigHeadPigeon

  • Newbie
  • *
  • Posts: 2
    • View Profile
Ok, I'm a n00b, so I may do things wrong. Anyway, typed echo %PATH% in cmd and checked all the folders for any file called libstdc++-6.dll. The folders listed included system32, java, matlab etc. But I found no libstdc++-6.dll file. (no hidden files in folders).

Am I on the wrong track?

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
AFAIK that's GCC's version of the (runtime) C++ standard library. If it is missing from your computer entirely you should probably look at fixing your compiler install. If it is on your machine you should make sure it is either in your PATH or in the current working directory (cwd) of your executable.
In any case, this is most likely not related to SFML at all - you would probably still have this problem with a simple "hello world" program like this:
#include <iostream>
int main() { std::cout << "Hello world" << std::endl; }
Try it.
« Last Edit: February 19, 2015, 08:25:57 pm by Jesper Juhl »