You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI="armeabi-v7a" -DANDROID_ARM_NEON=ON -DANDROID_PLATFORM=android-14 ..
报错:CMake Error at examples/CMakeLists.txt:4 (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.
根据网上的方法添加:-DOpenCV_DIR="/home/liupeng/opencv-2.4.13/release
报错:CMake Error at /home/liupeng/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
include could not find load file:
当cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI="armeabi-v7a" -DANDROID_ARM_NEON=ON -DANDROID_PLATFORM=android-14 ..
报错:CMake Error at examples/CMakeLists.txt:4 (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:
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.
根据网上的方法添加:-DOpenCV_DIR="/home/liupeng/opencv-2.4.13/release
报错:CMake Error at /home/liupeng/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
include could not find load file:
Call Stack (most recent call first):
examples/CMakeLists.txt:2 (find_package)
CMake Error at /home/liupeng/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
include could not find load file:
Call Stack (most recent call first):
examples/ssd/CMakeLists.txt:1 (find_package)
The text was updated successfully, but these errors were encountered: