![](/img/trans.png)
[英]How can I solve this problem related to the installation of GMP using VCPKG?
[英]How to solve GMP C++ Installation, can not find ../libgmp.la problem on MAC OS X
我已经从网站提供的链接下载了 GMP 6.2.1 到我的 macos Big Sur,解压了它。 我运行了配置脚本和
make check
make install
然后意识到我应该将 --enable-cxx 添加到./configure --enable-cxx
。 我这样做并重新运行make check
。 我的错误是
libtool: warning: '-no-install' is ignored for broadwell-apple-darwin20.5.0
libtool: warning: assuming '-no-fast-install' instead
libtool: error: cannot find the library '../libgmp.la' or unhandled argument' ../libgmp.la'
我该如何解决这个问题?
我第一次正确地遵循了https://gmplib.org/manual/Installing-GMP的说明,但第二次我没有在make check
之前运行make
。 按照手册完全解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.