After installing,configuring OPENCV in Microsoft visual studio,I created a project ,used opencv functions and simply compiled,which worked fine but giving error while running it.i.e. missing some opencv dll file.Please reinstall your application.
I have reinstalled the app,but of no use.
Earlier while configuration,I put the dir at D drive,Changed it to C drive but same dll missing error.
Below is my three lines of code.
using namespace cv;
int _tmain(int argc, _TCHAR* argv)
Mat img = imread(Imgpath, CV_LOAD_IMAGE_UNCHANGED);
/*Size new_size = img.size();
resize(img, img, new_size);
namedWindow("Step 1", CV_WINDOW_AUTOSIZE);
imshow("Step 1", img);*/