opencv2/core.hpp - No such file or directory
Solved
Installation and Deployment
-
Hi guys, I know I got a typical error, but I can't find a solution.
I'm trying to add to my project core.hpp and few more and then I got the error
File is in:
C:\Users\Amelia\Downloads\opencv\build\include\opencv2
My .pro file:INCLUDEPATH += "C:/Users/Amelia/Downloads/opencv/build/include/opencv2"
Includes in my main file:
#include "opencv2/core.hpp"
I am on Windows. Pls help. Thanks
-
Hi,
You already have opencv2 in the path you have in your INCLUDEPATH statement.
-
The issue is that the path includes the opencv2 folder. Stop at "include". Or remove the opencv2 from your include statements.