That's right, I know this is a very stupid question, but I have no luck with the w / e I'm trying to do.
I'm trying to use the objdetect.hpp header file, so I included the folder C: \ OpenCV2.1 \ include \ opencv2 \ as well as C: \ OpenCV2.1 \ include \ opencv and a whole group of other DLLs and libraries when I followed the instructions http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010
But the openCV version in this tutorial is deprecated and doesn't even have an objdetect.hpp file. So I went to download the latest version (OpenCV 2.4.0), but now when I follow it, it gives me error C1083: Unable to open include file: "opencv2 / core / core.hpp" There is no such file directory.
Is it possible to place all OpenCV folders / files in the same directory as my C ++ project? Or how can I fix this? I tried putting it in the same place as my C ++ project, but when I do #include "../" , the folder does not appear.
Again, I know this is a stupid question, but please help.
Let me know if anyone needs more information. I'm not sure what to do.
thanks
Danny source share