Open dmoham1476 opened 3 years ago
I see this error when I run make - I installed openCV using apt-get install libopencv-dev, cmake had no errors but make is failing
Scanning dependencies of target myplugins [ 40%] Linking CXX shared library libmyplugins.so [ 40%] Built target myplugins Scanning dependencies of target yolov5 [ 60%] Building CXX object CMakeFiles/yolov5.dir/calibrator.cpp.o /opt/nvidia/deepstream/tensorrtx/yolov5/calibrator.cpp:4:10: fatal error: opencv2/dnn/dnn.hpp: No such file or directory
^~~~~~~~~~~~~~~~~~~~~
compilation terminated. CMakeFiles/yolov5.dir/build.make:62: recipe for target 'CMakeFiles/yolov5.dir/calibrator.cpp.o' failed make[2]: [CMakeFiles/yolov5.dir/calibrator.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/yolov5.dir/all' failed make[1]: [CMakeFiles/yolov5.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
Same here
same here. Did u solve?
same
I see this error when I run make - I installed openCV using apt-get install libopencv-dev, cmake had no errors but make is failing
Scanning dependencies of target myplugins [ 40%] Linking CXX shared library libmyplugins.so [ 40%] Built target myplugins Scanning dependencies of target yolov5 [ 60%] Building CXX object CMakeFiles/yolov5.dir/calibrator.cpp.o /opt/nvidia/deepstream/tensorrtx/yolov5/calibrator.cpp:4:10: fatal error: opencv2/dnn/dnn.hpp: No such file or directory
include <opencv2/dnn/dnn.hpp>
compilation terminated. CMakeFiles/yolov5.dir/build.make:62: recipe for target 'CMakeFiles/yolov5.dir/calibrator.cpp.o' failed make[2]: [CMakeFiles/yolov5.dir/calibrator.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/yolov5.dir/all' failed make[1]: [CMakeFiles/yolov5.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2