I build on windows
and you can try this
https://github.com/ultralytics/ultralytics/tree/main/examples/YOLOv8-CPP-Inference
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I install the opencv with lib and using opencv on my cmake project with vs2022.
It always show the warning.
How can I close it for only opencv
I build on windows
and you can try this
https://github.com/ultralytics/ultralytics/tree/main/examples/YOLOv8-CPP-Inference
Hi,
In main.cpp
Use
#pragma warning(disable : xxx)
E.g.
#pragma warning(push, 0)
#pragma warning(disable : 26439)
#pragma warning(disable : 26495)
#include <opencv2/opencv.hpp>
#pragma warning(pop)
Now:
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.