zlib1.dll 处未找到入口点 deflateSetHeader
我正在尝试使用 Code::Blocks 安装 GTK+ 2.16,我设置了“gtk”环境变量和所有内容。它编译成功,但在运行时出现问题,提示“在动态库 zlib1.dll 中找不到过程 deflateSetHeader 的入口点”。
有人对此有什么想法吗?这是应该报告的某种错误吗?
提前致谢
I'm trying to install GTK+ 2.16, using Code::Blocks, I set the "gtk" environnement variable and everything. It compiles successfully, the problem rises in run-time when it says "No entry point found for procedure deflateSetHeader in the dynamic library zlib1.dll".
Anyone has an idea about this ? Is this some kind of bug that should be reported ?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
听起来您安装了旧版本的 zlib,其中不包含 deflateSetHeader 调用。您应该找到您的 dll 并将其替换为更新版本和/或重新安装更新版本的 gtk。
由于 Code::Blocks 需要 zlib1.dll(失败的根源)中的此调用,因此如果没有它,它将无法运行,因此您必须为其提供包含它的 dll 版本。
Sounds like you have an old version of zlib installed that doesn't contain the deflateSetHeader call. You should locate your dll and replace it with a newer version and/or reinstall a newer version of gtk.
Since Code::Blocks requires this call in zlib1.dll (the source of the failure) it will not be able to run without it so you must provide it with a version of the dll that contains it.
我在尝试在 Windows XP 计算机上安装 StarDict 编辑器时遇到了类似的问题。
我从 http://code.google 获取了安装程序 stardict-editor-3.0.1.rar .com/p/stardictproject/downloads/list
并尝试在没有 GTK 的情况下安装 StarDict-editor,但这是不可能的,因为很多消息报告 .dll 文件丢失。
最后的解决方案是:
在安装选项中标记一个选项,内容类似于“安装 dll 文件...”
I had a similar problem trying to install StarDict-editor in my Windows XP computer.
I got the installer stardict-editor-3.0.1.rar from http://code.google.com/p/stardictproject/downloads/list
and tried to install StarDict-editor without GTK but was impossible because a lot of messages reporting .dll files missing.
Finally the solution was:
In the installation options mark an option saying something like "install dll files..."