SFML community forums

Help => General => Topic started by: Erikpetrov on July 06, 2013, 03:55:08 pm

Title: Problems with libstdc++-6.dll
Post by: Erikpetrov on July 06, 2013, 03:55:08 pm
Hello everybody, I'm new here. I've recently started studying C++ and want to learn some graphics library. And I thought SFML would be a good choice. Now, let's get down to the problem.
I followed the tutorial on installing SFML on Code::Blocks several times, each time with a fresh install of Code::Blocks, but once I try to compile my code, it always says "The procedure entry point__gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll". I've been searching the Internet for a solution quite awhile now, but nothing seems to work. So that's why I'm asking here. The code I'm trying to compile is the example code in the Code::Blocks setup tutorial.


Thanks in advance.
Title: AW: Problems with libstdc++-6.dll
Post by: eXpl0it3r on July 06, 2013, 04:41:23 pm
Your SFML version is not compatible with your compiler. Make sure you get the right one (most likely TDM) as mentioned in the tutorial.
Title: Re: Problems with libstdc++-6.dll
Post by: Erikpetrov on July 06, 2013, 05:01:36 pm
Ok, I switched to the TDM version of SFML. But now my program crashes. :'(
Any idea what may be the problem here?
Title: Re: Problems with libstdc++-6.dll
Post by: zsbzsb on July 06, 2013, 05:07:05 pm
Double check all of your linker settings. If everything seems to be in order and it still doesn't work a recompile of SFML using your own compiler usually clears up the issues.
Title: Re: Problems with libstdc++-6.dll
Post by: Erikpetrov on July 06, 2013, 05:16:39 pm
All linker settings are correct, I triple-checked them.Still need help. :'(
Title: Re: Problems with libstdc++-6.dll
Post by: jacob on July 07, 2013, 04:12:15 pm
Could you post screen shots of your settings in Code::Blocks. It may just be something simple you are missing.
Title: Re: Problems with libstdc++-6.dll
Post by: eXpl0it3r on July 07, 2013, 05:35:44 pm
Have you made a clean recompilation of the code?

You should also provide the used code and run it through a debugger to find out what actually crashes it.
Title: Re: Problems with libstdc++-6.dll
Post by: Erikpetrov on July 07, 2013, 06:00:59 pm
I fixed this problem, but now it crases.Please help me add me on skype:lorddark4754
Title: Re: Problems with libstdc++-6.dll
Post by: eXpl0it3r on July 07, 2013, 07:07:48 pm
I fixed this problem, but now it crases.Please help me add me on skype:lorddark4754
I think you said that already and no I won't add you on Skype.

Have you made a clean recompilation of the code?

You should also provide the used code and run it through a debugger to find out what actually crashes it.
Title: Re: AW: Problems with libstdc++-6.dll
Post by: Jam_On_It on July 09, 2013, 02:32:53 pm
Your SFML version is not compatible with your compiler. Make sure you get the right one (most likely TDM) as mentioned in the tutorial.

I was trying to fix this problem for like 4 hours and doing what you said made it work perfectly! Thanks a lot!