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

Author Topic: Keep getting the same error when trying to use SFML with CodeBlocks.  (Read 1038 times)

0 Members and 1 Guest are viewing this topic.

Aeryes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hello everyone,

I am trying to use SFML with code blocks. I have tried many different youtube tutorials on how to get it working but every tutorial gives me the same error when I try to run the sample code on the official tutorial.

The error says the following:
Quote
The procedure entry point _gxx_personality_sj0 could not be located in the dynamic link library [path to file]

I have spent a few hours trying to fix this so I can start to work with SFML but now I find myself needing some help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10998
    • View Profile
    • development blog
    • Email
Re: Keep getting the same error when trying to use SFML with CodeBlocks.
« Reply #1 on: March 08, 2020, 05:24:09 pm »
If you google the error, you will very quickly come to the conclusion that your runtime libraries don't match.
I recommend following the official tutorials and make sure you download the 100% matching compiler or build SFML yourself from source with the same compiler, that way you can ensure compatibility.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Aeryes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Keep getting the same error when trying to use SFML with CodeBlocks.
« Reply #2 on: March 10, 2020, 06:05:02 am »
I googled the error but couldn't find a good answer. I found some stack overflow answers but couldn't make sense of what they were saying. I figured it out in the end and got it working. Its a bit slow to run but it works.