Hi all,
I’ve been struggling line by line to get openCV working in my plugin. I’ve checked every possible cause, which helped reduce the errors from 60+ to 21 to 4, and as an ObjC/C++ newbie, I feel I’m missing something obvious.
Any help would be greatly appreciated.
Undefined symbols for architecture arm64: "cv::drawMatches(cv::\_InputArray const&, std::vector\<cv::KeyPoint, std::allocator\<cv::KeyPoint\> \> const&, cv::\_InputArray const&, std::vector\<cv::KeyPoint, std::allocator\<cv::KeyPoint\> \> const&, std::vector\<cv::DMatch, std::allocator\<cv::DMatch\> \> const&, cv::\_InputOutputArray const&, cv::Scalar\_\<double\> const&, cv::Scalar\_\<double\> const&, std::vector\<char, std::allocator\<char\> \> const&, int)", referenced from: PluginLibrary::createGif(lua\_State\*) in libplugin\_library.a(PluginLibrary.o) "cv::Feature2D::compute(cv::\_InputArray const&, std::vector\<cv::KeyPoint, std::allocator\<cv::KeyPoint\> \>&, cv::\_OutputArray const&)", referenced from: PluginLibrary::createGif(lua\_State\*) in libplugin\_library.a(PluginLibrary.o) "cv::DescriptorMatcher::match(cv::\_InputArray const&, cv::\_InputArray const&, std::vector\<cv::DMatch, std::allocator\<cv::DMatch\> \>&, cv::\_InputArray const&) const", referenced from: PluginLibrary::createGif(lua\_State\*) in libplugin\_library.a(PluginLibrary.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thank you!