zlib1.dll 处未找到入口点 deflateSetHeader

发布于 2024-12-12 00:46:41 字数 170 浏览 0 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尾戒 2024-12-19 00:46:41

听起来您安装了旧版本的 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.

你如我软肋 2024-12-19 00:46:41

我在尝试在 Windows XP 计算机上安装 StarDict 编辑器时遇到了类似的问题。

我从 http://code.google 获取了安装程序 stardict-editor-3.0.1.rar .com/p/stardictproject/downloads/list
并尝试在没有 GTK 的情况下安装 StarDict-editor,但这是不可能的,因为很多消息报告 .dll 文件丢失。

最后的解决方案是:

  1. 首先从 http://sourceforge 安装适用于 Windows 运行时环境的 GTK+。净/项目/gtk-win/?abmode=1
    在安装选项中标记一个选项,内容类似于“安装 dll 文件...”
  2. 再次尝试安装 stardict-editor.exe
  3. 然后我收到上述错误消息:“无法在动态链接库中找到过程入口点 deflateSetHeader zlib1.dll”
  4. 我在计算机中查找了 zlib1.dll 文件并找到了几个版本。
  5. 从文件列表中选择最近创建的 zlib1.dll。复制此文件并将副本粘贴到路径:c:\Windows\system32(适用于 Windows XP)
  6. 现在,再次尝试安装 stardict-editor.exe
  7. StarDict-editor 似乎已安装并工作正常。

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:

  1. Install first the GTK+ for Windows Runtime Environment from http://sourceforge.net/projects/gtk-win/?abmode=1
    In the installation options mark an option saying something like "install dll files..."
  2. Try again to install stardict-editor.exe
  3. Then I got the mentioned error message: "The procedure entry point deflateSetHeader could not be located in the dynamic link library zlib1.dll"
  4. I looked in my computer for zlib1.dll files and find several versions.
  5. Choose from the list of files, the more recently created zlib1.dll. Copy this file and paste the copy in the path: c:\Windows\system32 (this is for Windows XP)
  6. Now, try again the installation stardict-editor.exe
  7. StarDict-editor installed and working ok, it seems.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文