Paddle-Lite-Demo icon indicating copy to clipboard operation
Paddle-Lite-Demo copied to clipboard

编译yolov5n-detection-demo, 报错

Open w1025773984 opened this issue 1 year ago • 2 comments

w1025773984 avatar Aug 14 '23 09:08 w1025773984

/home/simon/AndroidStudioProjects/Paddle-Lite-Demo-develop/object_detection/android/app/cxx/yolov5n_detection_demo/app/src/main/cpp/CMakeLists.txt : C/C++ debug|armeabi-v7a : CMake Error at /home/simon/AndroidStudioProjects/Paddle-Lite-Demo-develop/object_detection/android/app/cxx/yolov5n_detection_demo/app/src/main/cpp/CMakeLists.txt:18 (find_package): Found package configuration file:

/home/simon/AndroidStudioProjects/Paddle-Lite-Demo-develop/object_detection/android/app/cxx/yolov5n_detection_demo/app/src/main/cpp/../../../OpenCV/sdk/native/jni/OpenCVConfig.cmake

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND.

w1025773984 avatar Aug 14 '23 09:08 w1025773984

Perhaps you need to check if the file : OpenCV/sdk/native/jni/armeabi-v7a/OpenCVConfig.cmake exists.

OpenCV/sdk/native/jni/OpenCVConfig.cmake will check the corresponding OpenCVConfig.cmake file based on the abiFilters.From the log information, it appears that you are using armeabi-v7a.

1Q43 avatar Aug 16 '23 08:08 1Q43