CodeBlocks 中的 GTK 在 zlib1.dll 中没有 deflateSetHeader

发布于 2024-12-31 21:25:03 字数 408 浏览 1 评论 0原文

我正在尝试在 Windows 计算机上的 Code::Blocks 中获取一个可用的 GTK 项目。我按照此链接

当我打开 GTK 项目并尝试编译和运行时,我收到以下错误消息:

The procedure entry point deflateSetHeader could not be located in the dynamic 
link library zlib1.dll.

是否有更新版本的 zlib1.dll 需要替换当前版本?如果有的话,有链接吗?或者,如果其他人也遇到过类似的错误,我们将非常感激任何反馈。

谢谢。

I'm attempting to get a working GTK project in Code::Blocks on a Windows machine. I followed the instructions found under the "Simple Way" at this link

When I open up a GTK project and attempt to compile and run, I get the following error message:

The procedure entry point deflateSetHeader could not be located in the dynamic 
link library zlib1.dll.

Is there a more recent version of zlib1.dll that I need to replace the current one with? If so, does there exist a link? Or perhaps if anyone else has had a similar error, any feedback would be very much obliged.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

原谅过去的我 2025-01-07 21:25:03

我在尝试在 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.
葬心 2025-01-07 21:25:03

我也有同样的问题。检查输出窗口以找出从何处加载 zlib1.dll。对我来说,日志显示“已加载'C:\Windows\SysWOW64\zlib1.dll'”。

我无法通过更改路径来加载正确的 dll,并且必须用较新的版本替换 SysWOW64 中的 dll 才能编译我的项目。

希望有帮助!

I had the same problem. Check the output window to find out where it's loading zlib1.dll from. For me, the log read "Loaded 'C:\Windows\SysWOW64\zlib1.dll'".

I couldn't get it to load the right dll by changing my path and had to replace the dll in SysWOW64 with the newer version in order for my project to compile.

Hope that helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文