Error in executable file

I've written a program using Code::Blocks and though it runs using the compiler, if I run the exe file of the program it says:

The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.


Could anyone please explain what i hav to do o get rid of this error.
Thank You
Did you try to build project using release configuration?
Or add "-static-libgcc -static-libstdc++" to your link settings?

Could anyone please explain what i hav to do o get rid of this error.

if the error persist, then, the error message explains everything
Topic archived. No new replies allowed.