加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

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

发布时间:2020-12-14 04:35:33 所属栏目:Windows 来源:网络整理
导读:我安装了GNUStep http://www.gnustep.org/experience/Windows.html但是在编译helloworld.m时我得到了libgmp-10.dll. 我该怎么做才能让它发挥作用? (我在Windows 7 64位上) 几个月前我已经让它工作了,虽然我认为我当时使用Vista 32位. 更新:在这里找到 http
我安装了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:OptMinGW32.11.11binlibgmp-10.dll

通过将MinGW-bin目录添加到PATH可以轻松修复问题:

set path=%path%;D:OptMinGW32.11.11bin

现在编译器工作正常.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读