I receive an error message when launching a MinGW compiled executable. I'm using a Windows 7 machine.
I have the MinGW bin directory in my Windows Path environment variable (checked and re-checked) and said dll does exist in that folder.
I understand I could move the dll to the exe directory but the application doesn't need to be distributed to anywhere that doesn't have a MinGW installation with the environment variable set up correctly (standard environment on our work machines). Many colleagues are using the same executable without an issue. The only difference I know of is that most (possibly all) colleagues are working on Windows XP, with me on Windows 7.
Additionally I do not have access to the build server to change the compiler flags to static link the library.
So despite the workarounds I mention, I want to get to the bottom of why it doesn't work with the current setup.
Any help would be appreciated!
Cheers.
What version of mingw are you using? 4.4.0?
Download the package gcc-core-4.4.0-mingw32-dll.tar.gz
from here.
Copy required dll from the bin
folder into your mingw bin
folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With