Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::Tracker linker error in Xcode?

Every time I try to initialize a cv::Tracker I receive a "Apple Mach-O Linker (Id) Error". I've searched extensively for solutions, having

  • Included #include <opencv2 tracking="" tracking.hpp="">
  • Updated all the search paths in build settings
  • Updated the frameworks in build paths
  • Cleaned the product, restarted Xcode
  • Rebuilt the opencv2 framework with contrib (so tracking is definitely there)

Nothing works. I keep getting this error and everything else runs fine if I comment out

"Ptr<tracker> tracker = Tracker::create("KCF");"

Any help is appreciated!