Apple Mach-O 链接器 (ld) 错误 (OpenCV)

发布于 2024-11-17 10:59:00 字数 577 浏览 0 评论 0原文

以下是我在编译 OpenCV 项目时收到的详细错误消息。请帮帮我。多谢!

Undefined symbols for architecture x86_64:
  "_cvFindFundamentalMat", referenced from:
      testRigidRegistrationCode() in AugmentedReality.o
      CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
  "_cvComputeCorrespondEpilines", referenced from:
      CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The following is the detailed error message I got while compiling a OpenCV project. Please help me out. Thanks a lot!

Undefined symbols for architecture x86_64:
  "_cvFindFundamentalMat", referenced from:
      testRigidRegistrationCode() in AugmentedReality.o
      CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
  "_cvComputeCorrespondEpilines", referenced from:
      CamEgoMotion::step6_computeEssentialMatrix(CvMat*, CvMat*, bool*) in CameraEgomotion.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

放低过去 2024-11-24 10:59:00

关键是“ld:未找到架构 x86_64 的符号”。您正在链接某处的 32 位库。什么图书馆,我们不知道,因为您没有提供足够的信息。

The key there is "ld: symbol(s) not found for architecture x86_64". You're linking against a 32-bit library somewhere. What library, we have no idea, since you didn't include enough information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文