dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

build failed #7

Closed qnmts closed 1 year ago

qnmts commented 1 year ago

image

dinglufe commented 1 year ago

#include <list> should be added to sam.h, but I'm not sure why my compiler didn't produce any errors.

qnmts commented 1 year ago

#include <list> should be added to sam.h, but I'm not sure why my compiler didn't produce any errors.

Thank you for your answer. The compilation was successful, but an error was reported during operation

image

dinglufe commented 1 year ago

Could it be missing DLL files? Try running the executable by double-clicking it or use Dependency Walker to check for dependencies.

lixinye666 commented 1 year ago

同学你的cmake那个好用吗,你有没有遇到过这个问题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)