gpt4 book ai didi

objective-c - 尝试在 Windows 下编译 gnu objective-c 时缺少 libgmp-10.dll

转载 作者:太空狗 更新时间:2023-10-30 03:40:51 29 4
gpt4 key购买 nike

我安装了 GNUStep http://www.gnustep.org/experience/Windows.html但是在编译 helloworld.m 时,我缺少了 libgmp-10.dll。

我应该怎么做才能让它发挥作用? (我在 Windows 7 64 位上)

几个月前我已经让它工作了,虽然我想我当时使用的是 Vista 32 位。

更新:在这里找到

https://rb.freedroid.org/r/1101/diff/?expand=1

166 
Nota:, if an error window opens complaining about libgmp-10.dll missing, then you used a bugged version of the MinGW installer
167
(some DLLs are not correctly installed). To fix the problem, just type the following commands:
168
cp /mingw/bin/libgmp-10.dll /mingw/libexec/gcc/mingw32/4.5.2
169
cp /mingw/bin/libmpc-2.dll /mingw/libexec/gcc/mingw32/4.5.2
170
cp /mingw/bin/libmpfr-1.dll /mingw/libexec/gcc/mingw32/4.5.2
171
cp /mingw/bin/libiconv-2.dll /mingw/mingw32/bin
172
cp /mingw/bin/libintl-8.dll /mingw/mingw32/bin

但是我只在/mingw/bin/中找到了libgmp-3.dll

最佳答案

DLL 没有丢失;它可以在 MinGW-bin 目录中找到。在我的系统上:

D:\Opt\MinGW32.11.11\bin\libgmp-10.dll

通过将 MinGW-bin 目录添加到 PATH 可以轻松解决此问题:

set path=%path%;D:\Opt\MinGW32.11.11\bin

现在编译器工作正常。

关于objective-c - 尝试在 Windows 下编译 gnu objective-c 时缺少 libgmp-10.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6719307/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com