Visual Studio 2013中C++中的VideoCapture错误OpenCV 3.0.0



我正在做一个OpenCV 3.0.0 32位分段项目,并从OpenCV复制粘贴了一些示例代码。不幸的是,当我构建它时,包括所有的依赖项和库,它会给我以下错误:

1>Source.cpp
1>Source.obj : error LNK2019: unresolved external symbol "public: __thiscall cv::VideoCapture::VideoCapture(void)" (??0VideoCapture@cv@@QAE@XZ) referenced in function _main
1>Source.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall cv::VideoCapture::~VideoCapture(void)" (??1VideoCapture@cv@@UAE@XZ) referenced in function _main
1>Source.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall cv::VideoCapture::open(class cv::String const &)" (?open@VideoCapture@cv@@UAE_NABVString@2@@Z) referenced in function _main
1>Source.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall cv::VideoCapture::isOpened(void)const " (?isOpened@VideoCapture@cv@@UBE_NXZ) referenced in function _main

链接opencv_videio300(d).lib

相关内容

  • 没有找到相关文章

最新更新