Skip to content

编译失败 #6

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions