Error after installation, compatibility header

asked 2016-06-29 10:41:30 -0500

Hi yesterday a downloaded master branch, built it,set up linker settings, lib directories etc. I followed this turorial http://dogfeatherdesign.com/opencv-3-...
But when i try to run this test program

https://justpaste.it/vrau

I get following error: "this is a compatibility header which should not be used inside the OpenCV library."

I hope this is some stupid mistake with #include or something... I am completely new for openCV, I hope someone can help me. Thanks

edit retag flag offensive close merge delete

Comments

#include <opencv2/opencv.hpp> should be all you need for starters.

berak gravatar imageberak ( 2016-06-29 10:48:52 -0500 )edit

Thank you berak. I have found that i have yet another problem, I can not open files from opencv2 directory, i set them in system path, but visual studio can not open them. (cannot open source file "opencv2/video.hpp"), Can u tell me where i made a mistake? https://drive.google.com/file/d/0BwCz...

azgralion gravatar imageazgralion ( 2016-06-29 12:11:46 -0500 )edit