dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

CMake Error #17

Closed lixinye666 closed 1 year ago

lixinye666 commented 1 year ago

CMake Error at build/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package): 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. Call Stack (most recent call first): CMakeLists.txt:6 (find_package)

大佬能否留个联系方式

dinglufe commented 1 year ago

Some libraries need to be installed using vcpkg. Like this: ./vcpkg install opencv:x64-windows gflags:x64-windows onnxruntime-gpu:x64-windows. More detailed information can be found in the README.