古巴图书馆:架构的未定义符号x86_64

发布于 2025-01-27 17:14:54 字数 572 浏览 3 评论 0原文

我正在研究M1,并尝试使用Libquadmath和Cuba Library编译CPP代码。 在网站上( http://www.feynarts.de/cuba/ ) 我可以轻松地使用GNU C编译器,问题是(我猜想)我会收到以下错误,我不确定为什么。

ignoring file ./lib/libcuba.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
  "_llVegas", referenced from:
      _main in ccucELGn.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

有什么猜测吗? 谢谢大家

I'm working on a M1 and trying to compile a cpp code with libquadmath and the Cuba library.
On the site (http://www.feynarts.de/cuba/) is said that
I can easily make use of GNU C compiler, problem is (and here I'm guessing) I get the following error I'm not sure why.

ignoring file ./lib/libcuba.a, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
  "_llVegas", referenced from:
      _main in ccucELGn.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

Any guesses?
Thanks everyone

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文