Ask Your Question

Revision history [back]

How to link the correct directory for OpenCV on raspberry?

I installed the openCV to my Raspberry following this tutorial but the files went to directory: usr/local/include/opencv4/opencv2 instead of usr/local/include/opencv2

And now compilation fail even if I use #include <opencv4 opencv2="" opencv.hpp="">

click to hide/show revision 2
None

updated 2020-07-16 06:18:48 -0600

berak gravatar image

How to link the correct directory for OpenCV on raspberry?

I installed the openCV to my Raspberry following this tutorial but the files went to directory: usr/local/include/opencv4/opencv2 usr/local/include/opencv4/opencv2 instead of usr/local/include/opencv2

And now compilation fail even if I use

#include <opencv4 opencv2="" opencv.hpp="">

<opencv4/opencv2/opencv.hpp>
click to hide/show revision 3
None

updated 2020-07-16 06:20:43 -0600

berak gravatar image

How to link the correct directory for OpenCV on raspberry?

I installed the openCV to my Raspberry following this tutorial but the files went to directory: usr/local/include/opencv4/opencv2 instead of usr/local/include/opencv2

And now compilation fail even if I use

#include <opencv4/opencv2/opencv.hpp>