您的位置:首页 > 编程语言 > C语言/C++

MinGW c++ compiler zlib1.dll missing error?

2015-11-01 15:00 447 查看
Q: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.

A: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.

http://stackoverflow.com/questions/25542055/mingw-c-compiler-zlib1-dll-missing-error

这个问题我是在使用ST3和MinGW构建C编译器开发环境时碰到的,在网上找了一圈,发现这个答案靠谱,最终解决问题,记录一下。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mingw