dinglufe / segment-anything-cpp-wrapper

MIT License
221 stars 34 forks source link

opencv2/opencv.hpp: No such file or directory #39

Closed Mareeta26 closed 8 months ago

Mareeta26 commented 9 months ago

I was trying to run the program in VsCode and followed the steps as specified. I have installed vcpkg and the opencv folders are already in it. But, when I run test.cpp, the following error is shown "opencv2/opencv.hpp: No such file or directory".

Can you please advise how to solve? Thank you, Mareeta

dinglufe commented 9 months ago

Has OpenCV been installed in vcpkg?

./vcpkg install opencv:x64-windows gflags:x64-windows onnxruntime-gpu:x64-windows