SFML community forums

Help => General => Topic started by: Gintoki on May 18, 2018, 08:28:36 am

Title: I have a problem when trying to open the executable of the project
Post by: Gintoki 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.
(http://C:\Users\Panda\Desktop\ErrorSFML.PNG)
Title: Re: I have a problem when trying to open the executable of the project
Post by: eXpl0it3r 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.
Title: Re: I have a problem when trying to open the executable of the project
Post by: Gintoki on May 18, 2018, 09:00:08 am
I already tried both, but the same error message appears.
Title: Re: I have a problem when trying to open the executable of the project
Post by: eXpl0it3r on May 18, 2018, 09:10:53 am
Then you copied the wrong DLLs. Check what MinGW compiler you've setup in Code::Blocks.