Program can't find libgcc_s_dw2-1.dll [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: The program can't start because libgcc_s_dw2-1.dll is missing I'm using Code::Blocks and MinGW 4.4 (I think) compiler to create a C++ project. I get this system error if I run it from its directory, but not from within Code::Blocks. The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem. In this post hardmath said to add -static-libgcc