Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
I have a problem when trying to open the executable of the project
Print
Pages: [
1
]
Author
Topic: I have a problem when trying to open the executable of the project (Read 1186 times)
0 Members and 1 Guest are viewing this topic.
Gintoki
Newbie
Posts: 2
I have a problem when trying to open the executable of the project
«
on:
May 18, 2018, 08:28:36 am »
I get this error every time I try to open the project using the executable or the cmd, but when I run it in CodeBlocks it works just fine. I tried add all the dlls to the system path but it still doesn't work.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: I have a problem when trying to open the executable of the project
«
Reply #1 on:
May 18, 2018, 08:36:21 am »
You need to copy the runtime libraries from your compiler next to your executable. Also you may want to remove the ones that are somewhere located in PATH, as they may cause conflicts (as seen here) when the version doesn't match.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Gintoki
Newbie
Posts: 2
Re: I have a problem when trying to open the executable of the project
«
Reply #2 on:
May 18, 2018, 09:00:08 am »
I already tried both, but the same error message appears.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: I have a problem when trying to open the executable of the project
«
Reply #3 on:
May 18, 2018, 09:10:53 am »
Then you copied the wrong DLLs. Check what MinGW compiler you've setup in Code::Blocks.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
I have a problem when trying to open the executable of the project