Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VideoCapture error OpenCV 3.0.0 in Visual Studio 2013 in C++

I am working on an OpenCV 3.0.0 32-bit Segmentation project and copy+pasted some sample code from OpenCV. Unfortunately, when I build it, all dependencies and libraries included, it gives me the following errors:

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
like image 969
Rhamy Belayachi Avatar asked Jan 08 '23 01:01

Rhamy Belayachi


1 Answers

link opencv_videoio300(d).lib

like image 74
Rhamy Belayachi Avatar answered Jan 18 '23 05:01

Rhamy Belayachi