MinGW gcc missing zlib1.dll
14,653
Solution 1
You get it directly from zlib website. There's a link pointing to Windows prebuilt version: http://www.winimage.com/zLibDll.
Solution 2
When you install mingw C++ tools, you also need to install mingw32-base. Here's a pic:
Related videos on Youtube
Comments
-
user3621590 over 1 year
Whenever I try to compile a C file using MinGW's gcc, it gives the error that zlib.dll is missing. Is there any reliable way to get zlib.dll or to fix this error?
-
op1ekun over 9 yearsWhere do I place them?
-
denisvm over 9 years@op1ekun if only your app will use this library, you should put it inside the application's directory. Read more on msdn.microsoft.com/en-us/library/7d83bc18.aspx
-
dragn over 8 yearsYes, either that or just install
zlib
package