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

Author Topic: Error when using the exe  (Read 998 times)

0 Members and 1 Guest are viewing this topic.

Stuff

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Error when using the exe
« on: March 27, 2020, 02:13:07 am »
I've finished developing my program, now I have to get a working exe and then release it,

But I have encountered a problem, once I copy and paste the SFML dll files like instructed for the exe to work, now i run the exe it shows an error:

"The code execution cannot proceed because libgcc_s_sjlj-1.dll was not found.
Reinstalling the program may fix this problem"


Once looking through the project files I couldn't find the specified "libgcc_s_sjlj-1.dll" the exe needs,
is there a solution to this problem, please alert me if I'm missing, or not getting something it would be a real help.

Thank you.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Error when using the exe
« Reply #1 on: March 27, 2020, 08:20:40 am »
The top results for your error on Google, all point to StackOverflow with good answers. ;)

The DLL comes with your compiler and can be found in your compiler bin directory. Copy it next to your exe and you should be good to go.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Stuff

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: Error when using the exe
« Reply #2 on: March 27, 2020, 03:15:51 pm »
Thanks, it works.

Thank you so much.