Skip to content

Android opencv error : couldnt find OpenCVConfig.cmake #15091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
rsingh2083 opened this issue May 4, 2025 · 0 comments
Open
3 tasks done

Android opencv error : couldnt find OpenCVConfig.cmake #15091

rsingh2083 opened this issue May 4, 2025 · 0 comments
Assignees

Comments

@rsingh2083
Copy link

🔎 Search before asking

  • I have searched the PaddleOCR Docs and found no similar bug report.
  • I have searched the PaddleOCR Issues and found no similar bug report.
  • I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

My OS: windows 11
Studio version : Chipmunk 2021.2.1 (May 2022)

E:\PaddleOCR\deploy\android_demo\app\src\main\cpp\CMakeLists.txt : C/C++ debug|arm64-v8a : CMake Error at E:\PaddleOCR\deploy\android_demo\app\src\main\cpp\CMakeLists.txt:18 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" with any
  of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.

E:\PaddleOCR\deploy\android_demo\app\src\main\cpp\CMakeLists.txt : C/C++ debug|arm64-v8a : Configuration failed.
executing external native build for cmake E:\PaddleOCR\deploy\android_demo\app\src\main\cpp\CMakeLists.txt

BUILD SUCCESSFUL in 3s

🏃‍♂️ Environment (运行环境)

My OS: windows 11
Studio version : Chipmunk 2021.2.1 (May 2022)

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants