Missing libgcc_s_dw2-1.dll Error starting MinGW Compiled exe

An error message appears when launching the MinGW executable. I am using a Windows 7 machine.

I have a MinGW bin directory in my Windows Path environment variable (checked and re-checked) and the specified DLL exists in that folder.

I understand that I could move the dlls to the exe directory, but the application does not need to be redistributed anywhere that does not have MinGW installed with the correct environment setup (standard environment on our work machines). Many colleagues are using the same executable file without issue. The only difference I am aware of is that most (perhaps all) of my colleagues work on Windows XP with me on Windows 7.

Also, I don't have access to the build server to change the compiler flags to a static library reference.

So, despite the workarounds I mention, I want to understand why it doesn't work with the current setup.

Any help would be appreciated!

Greetings.

+3


source to share


1 answer


Which version of mingw are you using? 4.4.0?



Download the package from here . Copy the required dll from folder to mingw folder . gcc-core-4.4.0-mingw32-dll.tar.gz


bin

bin

+1


source







All Articles