Open yazhouZhang opened 5 years ago
Undefined symbols for architecture arm64: "cv::String::deallocate()", referenced from: cv::String::~String() in HDFaceDetection(HDFaceDetection.o) cv::String::operator=(cv::String const&) in HDFaceDetection(HDFaceDetection.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
demo下载后,提示没有opencv2.framwwork。 然后去官网下载了个iOS 的版本,然后运行就出这个错误了 lipo -info opencv2 Architectures in the fat file: opencv2 are: armv7 armv7s i386 x86_64 arm64
lipo -info HDFaceDetection Architectures in the fat file: HDFaceDetection are: armv7 arm64 是opencv2.framework问题,还是你的HDFaceDetection问题,看起来和你封装库有关
你找个release 版本的,是opencv 的问题,我用的3.3.0
Undefined symbols for architecture arm64: "cv::String::deallocate()", referenced from: cv::String::~String() in HDFaceDetection(HDFaceDetection.o) cv::String::operator=(cv::String const&) in HDFaceDetection(HDFaceDetection.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
demo下载后,提示没有opencv2.framwwork。 然后去官网下载了个iOS 的版本,然后运行就出这个错误了 lipo -info opencv2 Architectures in the fat file: opencv2 are: armv7 armv7s i386 x86_64 arm64
lipo -info HDFaceDetection Architectures in the fat file: HDFaceDetection are: armv7 arm64 是opencv2.framework问题,还是你的HDFaceDetection问题,看起来和你封装库有关