Ask Your Question

Revision history [back]

The issue is that the compiler cannot find "opencv.hpp". Since you're working on the Linux kernel, you need to use backwards slashes for directories "\" instead of "/".

You have "opencv2/opencv.hpp" written instead of "opencv2\opencv.hpp". If you copied the code from somewhere, they were probably working on a Windows machine.

The issue is that the compiler cannot find "opencv.hpp". Since you're working on the Linux kernel, you need to use backwards forward slashes for directories "\" "/" instead of "/". "\".

You have "opencv2/opencv.hpp" "opencv2\opencv.hpp" written instead of "opencv2\opencv.hpp". "opencv2/opencv.hpp". If you copied the code from somewhere, they were probably working on a Windows machine.