SFML community forums
Help => General => Topic started 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)
-
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.
-
I already tried both, but the same error message appears.
-
Then you copied the wrong DLLs. Check what MinGW compiler you've setup in Code::Blocks.