MinGW c ++编译zlib1.dll丢失错误? [英] MinGW c++ compiler zlib1.dll missing error?

查看:2707
本文介绍了MinGW c ++编译zlib1.dll丢失错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始学习C ++,我正在尝试下载编译器MinGW来编译我的源代码。但是,每次我尝试编译程序时,会出现一条错误消息,指出缺少 zlib1.dll



这是错误信息


程序无法启动,因为您的计算机中缺少zlib1.dll


我试过安装/重新安装没有运气。我不知道这里有什么问题?



任何人都可以帮我解决这个问题,因为我有一些作业,我需要做,但我不能没有编译器。



感谢。

解决方案 http://www.mingw.org/wiki/getting_started =nofollow> MinGW入门;自动GUI安装程序助手或使用 mingw-get 可用(安装为MinGW Installation Manager),并可用于安装其他库和管理依赖关系。对于缺少的zlib库,根据需要添加mingw32-libz库。






这似乎是以前的问题超级用户。您似乎可以直接从 zlib网站找到他们。 Open Babel 有一些信息,需要在其后复制(以及其他一些dll) 。






替代方法包括使用 nuwen mingw-builds 。我从来没有任何问题,这些和去。他们也支持x64版本。


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.

解决方案

From the MinGW getting started; an automated GUI installer assistant, or use mingw-get, is available (installed as "MinGW Installation Manager") and can be used to install additional libraries and manage dependencies. For the missing zlib libraries, add the mingw32-libz libraries as required.


It seems to have been an issue previously here on super user. It seems you may be able to get them directly from the zlib website. Open Babel has some info on it being required to be copied afterwards (together with some other dlls).


Alternatives include using the mingw-w64 distros from nuwen or mingw-builds. I've never had any issue getting these up and going. They also support x64 builds.

这篇关于MinGW c ++编译zlib1.dll丢失错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆