Open zinwalin opened 3 years ago
Location of included OpenCV include files are placed in /usr/include/opencv4 Compiled it succesfully with g++ -std=c++11 -Wall -I/usr/include/opencv4 simple_camera.cpp -L/usr/lib -lopencv_core -lopencv_highgui -lopencv_videoio -o simple_camera
Describe the issue jetson@nano:~/CSI-Camera$ g++ -std=c++11 -Wall -I/usr/lib/opencv simple_camera.cpp -L/usr/lib -lopencv_core -lopencv_highgui -lopencv_videoio -o simple_camera simple_camera.cpp:10:10: fatal error: opencv2/opencv.hpp: No such file or directory
include <opencv2/opencv.hpp>
compilation terminated.
What version of L4T/JetPack L4T/JetPack version: jetson@nano:~/CSI-Camera$ jetson_release
What version of OpenCV OpenCV version: jetson@nano:~/CSI-Camera$ python Python 2.7.17 (default, Sep 30 2020, 13:38:04) [GCC 7.5.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.
Python Version Python version if applicable: jetson@nano:~/CSI-Camera$ python3 --version Python 3.6.9 jetson@nano:~/CSI-Camera$ python --version Python 2.7.17
To Reproduce Steps to reproduce the behavior: For example, what command line did you run?
Expected behavior A clear and concise description of what you expected to happen.
Additional context Add any other context about the problem here.