I have just started to learn C++ for school, and I'm trying to download the compiler MinGW to compile my source code. However, every time I try to compile a program an error message shows up saying that zlib1.dll
is missing.
This is the error message
the program can't start because zlib1.dll is missing from your computer
I have tried installing/re-installing with no luck. I don't know what's the problem here?
Can anyone please help me with this problem as I have some homework that I need to do but I can't without the compiler.
Thanks.
Zlib1. dll is an application that is designed to compress and decompress data without any loss of data in the process. It is also designed to work on any hardware and any operating system. Errors caused by problems with zlib1. dll can occur in any "Microsoft Windows" operating system.
I had this same problem, but fixed it like this:
I ran the MinGW Installation Manager
(e.g. C:\MinGW\libexec\mingw-get\guimain.exe
).
I navigated to All Packages -> MinGW -> MinGW Libraries
.
I checked the boxes next to mingw32-libz
(dev
& dll
).
I went to Installation -> Apply Changes
.
Now everything worked properly.
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