CodeBlocks 中的 GTK 在 zlib1.dll 中没有 deflateSetHeader
我正在尝试在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在尝试在 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..."
我也有同样的问题。检查输出窗口以找出从何处加载 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!