古巴图书馆:架构的未定义符号x86_64
我正在研究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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论