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

Author Topic: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll  (Read 3764 times)

0 Members and 1 Guest are viewing this topic.

Ardeshir81

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
HI!
I'm beginnger !
I have read the tutorial on setting up sfml (2.1) with CodeBlocks and I pasted the sample code (The one which draws a green circle with caption "IT WORKS") and CodeBlocks messaged : 0 errors , 0 warnings .
But when I ran the program I get this error :
"The program can't start because sfml-graphics-2.dll is missing from our computer."
So I copied all the .dll s in bin folder (from sfml) to debug folder of my project , in the same folder that the executable is created .

Then that error gone and a new one appears :
"The procedure entry point_gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll ."

I am using CodeBlocks 12.11 gcc 4.7.1 windows 32 bit .
THank YOU !

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Try to copy the libstdc++-6.dll file from your mingw\bin folder to your executable folder.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10818
    • View Profile
    • development blog
    • Email
I am using CodeBlocks 12.11 gcc 4.7.1 windows 32 bit .
Have you also downloaded the SFML package, labeled as "GCC 4.7 TDM (SJLJ) - 32 bits"?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ardeshir81

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Laurent thanks BUT it didn't fix it , the same error appears .
and eXpl0it3r doesn't codeblocks use MinGW ?
I have a folder called MinGW in my CodeBlocks folder , so I didn't download TDM .
By the way I am downloading it and I will tell you about that .
Thanks !

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
MinGW, TDM, ... these are just different distributions of the same thing: gcc with its tools. It's like you said "I have Ubuntu, so I didn't download the Linux package" ;)

What's important is the version of gcc, as well as the exception and threading model. Not the name of the distribution.
Laurent Gomila - SFML developer

Ardeshir81

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Thanks eXpl0it3r and Laurent !
You can't imagine how happy I am !
It's fixed , Thanks !