yolo_deepstream
yolo_deepstream copied to clipboard
error when build code.
../Makefile.config:26: CUDA_INSTALL_DIR variable is not specified, using /usr/local/cuda by default, use CUDA_INSTALL_DIR=<cuda_directory> to change. ../Makefile.config:31: CUDNN_INSTALL_DIR variable is not specified, using /usr/local/cuda by default, use CUDNN_INSTALL_DIR=<cudnn_directory> to change. ../Makefile.config:44: TRT_LIB_DIR is not specified, searching ../../lib, ../../lib, ../lib by default, use TRT_LIB_DIR=<trt_lib_directory> to change. if [ ! -d ../bin/chobj/../common ]; then mkdir -p ../bin/dchobj/../common; fi; : Compiling: SampleYolo.cpp In file included from SampleYolo.cpp:23:0: SampleYolo.hpp:41:10: fatal error: opencv2/opencv.hpp: No such file or directory #include <opencv2/opencv.hpp> ^~~~~~~~~~~~~~~~~~~~ compilation terminated. ../Makefile.config:338: recipe for target '../bin/dchobj/SampleYolo.o' failed make: *** [../bin/dchobj/SampleYolo.o] Error 1
check you opencv install. You do not have the header file installed properly it seems, given the above error description.