working with a Jetson Xavier AGX, I'm running Ubuntu 18.04. Recently installed OpenCV via the terminal. It's working with VS code when importing cv2 in Python scripts. But for some reason I cannot make it work with C++.
I'm pretty new to C++ and a bit confused how to import it correctly. I've tried changing "c_cpp_properties.json" to include '/usr/include/opencv4**' but I'm still getting errors when running the code.
fatal error: opencv2/opencv.hpp: No such file or directory
Any help appriciated!