SFML community forums
Help => General => Topic started by: zachy64 on March 05, 2012, 11:22:59 pm
-
Hello, I was trying to install SFML with Code::Blocks. I set up everything, placed the .a files in /lib and .hpp files in /include, and I linked everything. The program compiles fine, but when I start it, it says "The program can't start because libstdc++-6.dll is missing" (You can see it at http://prntscr.com/6r4kb)
If someone could tell me why this is happening, it would help so much!
Thanks in advance.
-
Well, copy that dll to the exe directory. It should be in a bin dir, somewhere within the mingw compiler dir.
-
You will probably need to include libgcc_s_dw2-1.dll as well. Should be in the same folder as libstdc++-6.dll.
-
You can link the std C++ lib statically .. just add -static-libstdc++ to your link options