程序可以在CLion IDE中运行,但是exe不起作用

I started programming in C++ using CLion IDE. When I run the program inside the IDE it works. However, opening the .exe file outside the IDE generates a bunch of errors:

The code execution cannot proceed because libgcc_s_seh-1.dll was not found. Reinstalling the program may fix this problem.

单击确定会再次使用不同的dll弹出同一条消息。 为什么会这样?有哪些不同的修复方法?最好的选择是什么?