在build setting 中的 build options 中 Exclude source file Name中如果加了文件名字则有可能在真机时出现以下问题(部分错误码)删除Exclude source file Name中的文件名字,clean 工程即可;
Undefined symbols for architecture armv7:
"vtable for cv::ParallelLoopBody", referenced from:
cv::ParallelLoopBody::ParallelLoopBody() in XXXXXXXXX.a(SURF.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"cv::Mutex::Mutex()", referenced from:
___cxx_global_var_init in XXXXXXXXX.a(SURF.o)
"cv::Mutex::lock()", referenced from:
cv::AutoLock::AutoLock(cv::Mutex&) in XXXXXXXXX.a(SURF.o)
"cv::solve(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
cv::Matx<float, 3, 1> cv::Matx<float, 3, 3>::solve<1>(cv::Matx<float, 3, 1> const&, int) const in XXXXXXXXX.a(SURF.o)
"cv::_OutputArray::needed() const", referenced from:
BriefSURF::operator()(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_OutputArray const&, bool) const in XXXXXXXXX.a(SURF.o)
"cv::min(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
BriefSURF::operator()(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_OutputArray const&, bool) const in XXXXXXXXX.a(SURF.o)
"cv::DefaultDeleter<CvMat>::operator()(CvMat*) const", referenced from:
cv::detail::PtrOwnerImpl<CvMat, cv::DefaultDeleter<CvMat> >::deleteSelf() in XXXXXXXXX.a(SURF.o)
"cv::_InputArray::kind() const", referenced from:
BriefSURF::operator()(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_OutputArray const&, bool) const in XXXXXXXXX.a(SURF.o)
cv::_InputArray::getMat(int) const in XXXXXXXXX.a(SURF.o)
"cv::Mat::inv(int) const", referenced from:
SkinPredictor::LoadModelFromMem(char const*) in XXXXXXXXX.a(skinscore.o)
"cv::determinant(cv::_InputArray const&)", referenced from:
SkinPredictor::LoadModelFromMem(char const*) in XXXXXXXXX.a(skinscore.o)
"cv::MatConstIterator::seek(int const*, bool)", referenced from:
cv::MatConstIterator::MatConstIterator(cv::Mat const*) in XXXXXXXXX.a(function.o)
"cv::invertAffineTransform(cv::_InputArray const&, cv::_OutputArray const&)", referenced from:
CalTransform(cv::Mat const&, cv::Mat const&, cv::Mat&, cv::Mat&) in XXXXXXXXX.a(function.o)
"cv::LU(double*, unsigned long, int, double*, unsigned long, int)", referenced from:
Solve(cv::Mat_<double>&, cv::Mat_<double>&) in XXXXXXXXX.a(function.o)