不能将OpenCV设置为2017年。我做错什么了?是的,我把所有其他职位都红了。
代码:
#include "opencv2/highgui/highgui.hpp"
using namespace cv;
void main() {
Mat src;
VideoCapture cap;
cap.open(0);
while (true)
{
cap >> src;
flip(src, src, 2);
imshow("dd", src);
waitKey(0);
}}LIBS I包括:
LIB DEPENDEICES:
附加包括DIRS
,但我仍然有错误:
未解决的外部符号"void __cdecl cv::cv::debug_build_guard::_InputArray const &,class cv::debug_build_guard::_OutputArray const &,int“ 未解决的外部符号"void __cdecl cv::imshow(类std::basic_string,类std::allocator const &,cv::debug_build_guard::_InputArray类cv::debug_build_guard::_InputArray const &)“
我遗漏了什么?
发布于 2019-03-02 12:57:16
因此,我不得不构建OpenCV库的调试版本。
https://stackoverflow.com/questions/54956778
复制相似问题