SFML community forums

Help => General => Topic started by: Ardeshir81 on September 30, 2013, 12:14:06 pm

Title: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: Ardeshir81 on September 30, 2013, 12:14:06 pm
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 !
Title: Re: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: Laurent on September 30, 2013, 12:27:48 pm
Try to copy the libstdc++-6.dll file from your mingw\bin folder to your executable folder.
Title: Re: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: eXpl0it3r on September 30, 2013, 01:03:31 pm
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"?
Title: Re: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: Ardeshir81 on October 01, 2013, 08:40:48 am
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 !
Title: Re: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: Laurent on October 01, 2013, 08:46:47 am
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.
Title: Re: (CodeBlocksSetup) point_gxx_personality_v0 can't be located in libstdc++-6.dll
Post by: Ardeshir81 on October 02, 2013, 08:31:37 pm
Thanks eXpl0it3r and Laurent !
You can't imagine how happy I am !
It's fixed , Thanks !