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

Author Topic: Problems with libstdc++-6.dll  (Read 4662 times)

0 Members and 1 Guest are viewing this topic.

Erikpetrov

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Greedy Truck
    • Email
Problems with libstdc++-6.dll
« 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.
Game: Greedy Truck
Website: http://greedytruck.tk/
Location: Earth(for now)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
AW: Problems with libstdc++-6.dll
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Erikpetrov

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Greedy Truck
    • Email
Re: Problems with libstdc++-6.dll
« Reply #2 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?
Game: Greedy Truck
Website: http://greedytruck.tk/
Location: Earth(for now)

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Problems with libstdc++-6.dll
« Reply #3 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.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Erikpetrov

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Greedy Truck
    • Email
Re: Problems with libstdc++-6.dll
« Reply #4 on: July 06, 2013, 05:16:39 pm »
All linker settings are correct, I triple-checked them.Still need help. :'(
« Last Edit: July 06, 2013, 05:39:14 pm by Erikpetrov »
Game: Greedy Truck
Website: http://greedytruck.tk/
Location: Earth(for now)

jacob

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Problems with libstdc++-6.dll
« Reply #5 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Problems with libstdc++-6.dll
« Reply #6 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Erikpetrov

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Greedy Truck
    • Email
Re: Problems with libstdc++-6.dll
« Reply #7 on: July 07, 2013, 06:00:59 pm »
I fixed this problem, but now it crases.Please help me add me on skype:lorddark4754
Game: Greedy Truck
Website: http://greedytruck.tk/
Location: Earth(for now)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Problems with libstdc++-6.dll
« Reply #8 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Jam_On_It

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: AW: Problems with libstdc++-6.dll
« Reply #9 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!