hyperlpr4Android icon indicating copy to clipboard operation
hyperlpr4Android copied to clipboard

编译失败

Open ghost opened this issue 7 years ago • 0 comments

windows10 64位,Android studio。 配置好了opencv路径。

Information:Gradle tasks [assemble] F:\hyperlpr4Android-master\app\src\main\jni\src\PlateDetection.cpp Error:(30) undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::ndk1::vector<cv::Rect, std::ndk1::allocator<cv::Rect > >&, double, int, int, cv::Size, cv::Size)' Error:error: undefined reference to 'vtable for std::basic_stringstream<char, std::char_traits, std::allocator >' Error:error: undefined reference to 'std::string::append(unsigned int, char)' Error:error: undefined reference to 'std::ostream::operator<<(short)' Error:undefined reference to 'std::length_error::length_error(std::string const&)' Error:error: undefined reference to 'std::invalid_argument::invalid_argument(std::string const&)' Error:error: linker command failed with exit code 1 (use -v to see invocation) F:\hyperlpr4Android-master\app\src\main\jni\src\Pipeline.cpp Warning:(25, 9) warning: delete called on 'pr::GeneralRecognizer' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] Warning:(25, 9) warning: delete called on 'pr::GeneralRecognizer' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] Information:BUILD FAILED in 19s Information:7 errors Information:2 warnings Information:See complete output in console

ghost avatar Mar 22 '18 08:03 ghost