error LNK2019

Hi,
I am new to C++.I am doing a project which contains camera. So I am using OpenCV 2.3 to open camera for capturing pictures.
I've add additional libraries to project properties.But still I am getting the error below: Please help

error LNK2019: unresolved external symbol "public: virtual __thiscall cv::VideoCapture::~VideoCapture(void)" (??1VideoCapture@cv@@UAE@XZ) referenced in function _wmain test.obj

for reference the code is:

#include "stdafx.h"
#include "opencv2\opencv.hpp"

using namespace cv;

int _tmain(int argc, _TCHAR* argv[])
{

VideoCapture cap;
cap.open(0);

return 0;
}



Thank You.
Topic archived. No new replies allowed.