Ask Your Question
0

error: opencv_world300d.dll is not installed.

asked 2015-01-12 03:47:47 -0600

Utkarsh gravatar image

updated 2015-01-12 11:45:41 -0600

codingTornado gravatar image

I was using this code in visual studios 2013 with opencv 3.0.0 beta.

include<opencv\cv.hpp>

include<opencv\highgui.h>

using namespace cv; int main(){

Mat image;
VideoCapture cap;
cap.open(0);

cv::namedWindow("window", 1);

while (1)
{
    cap >> image;
    imshow("window", image);
    waitKey(35);


}

}

edit retag flag offensive close merge delete

Comments

1

btw, please use the c++ headers:

#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
...
berak gravatar imageberak ( 2015-01-12 12:46:16 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-12 11:43:59 -0600

codingTornado gravatar image

You need to add the libraries to the VS project like they explain in this tutorial
tl;dr you just need to add the include directory to the additional include directories, your library folders to the additional library directories and all .lib you need to the additional dependencies. Also, as stated here, you will need to add opencv to your path.
This article might come in handy too.

Reading the documentation helps a lot ;)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-12 03:47:47 -0600

Seen: 3,446 times

Last updated: Jan 12 '15