I'm learning C++ and I have completed a basic Hello World program. The program runs fine in my IDE, but I am unable to run it from my Windows console.
I am using the MinGW compiler.
I have already added it to my path.
I am using Windows 10.
I am using the Eclipse IDE.
When I try to run my program, I get the error that
The code execution cannot proceed because libgcc_s_dw2-1.dll was not found. Reinstalling the
program may fix this problem.
I double checked the bin folder in MinGW and it does have the libgcc_s_dw2-1.dll file. And, as I said, MinGW is set to my path.
I know that there is a question like this already but those solutions did not help me. Any help would be much appreciated. Thank you.
EDIT: my compiler bin directory has been added to my path.