开发者

Apple Mach-O Linker (ld) Error (OpenCV)

开发者 https://www.devze.com 2023-03-15 16:08 出处:网络
The following is the detailed error message I got while compiling a OpenCV project. Please help me out. Thanks a lot!

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_开发者_Python百科64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号