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弹出同一条消息。 为什么会这样?有哪些不同的修复方法?最好的选择是什么?
您始终需要将应用程序链接到的所有库与应用程序一起交付。这包括您的编译器运行时库(在这种情况下您忘记了)。