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

Author Topic: Procedure entry point issue when executing program  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

kaikalii

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Procedure entry point issue when executing program
« on: October 11, 2015, 01:17:17 pm »
I am using SFML with mingw32 without any kind of IDE. I directly link and include from the SFML 2.3.2 for GCC 4.8.1 32-bit folder. I link and include from the makefile for my programs, and the folder that contains the executable also contains all of the necessary DLLs from the SFML bin. My program compiles successfully, but when I try to run it, I am met with:
The procedure entry point __gxx_personality_sj0 could not be located in the dynamic link library libstdc++-6.dll.

How can I resolve this? Admittedly, I do not know a great amount about the inner workings of compilers, so responses that are less esoteric would be appreciated. If there is any other information that I should include, please let me know.

In the past, I have compiled SFML in a similar way, but on Linux, and it worked perfectly. However, I am trying to do it on Windows, and have run into this issue.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Procedure entry point issue when executing program
« Reply #1 on: October 11, 2015, 01:24:16 pm »
You need to use the exact same compiler as SFML was built with. The TDM 4.8.1 32bit SFML package was built with the compiler that gets officially shipped with Code::Blocks.

At best you just build SFML from source and you won't have any issues.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kaikalii

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Procedure entry point issue when executing program
« Reply #2 on: October 11, 2015, 01:34:28 pm »
@eXpl0it3r Okay thanks. I downloaded the source, and obviously I include the "include" folder, but which folders correspond to the lib and bin from the codeblocks-specific version?
« Last Edit: October 11, 2015, 01:39:38 pm by kaikalii »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Procedure entry point issue when executing program
« Reply #3 on: October 11, 2015, 01:46:35 pm »
You need to generate a make file through CMake in order to build SFML. Read the official SFML CMake tutorial.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/