微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在Windows下编译gnu目标c时,objective-c-libgmp-10.dll丢失了

我安装了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

现在编译器工作正常.

原文地址:https://www.jb51.cc/windows/364191.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐