Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
opencv2/core.hpp - No such file or directory
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:
My .pro file:
INCLUDEPATH += "C:/Users/Amelia/Downloads/opencv/build/include/opencv2"
Includes in my main file:
I am on Windows. Pls help. Thanks
You already have opencv2 in the path you have in your INCLUDEPATH statement.
@SGaist Yes I'm sure path is right and contains the file
The issue is that the path includes the opencv2 folder. Stop at "include". Or remove the opencv2 from your include statements.
@SGaist Thank you that was it, thanks a lot