NVIDIA-AI-IOT / yolo_deepstream

yolo model qat and deploy with deepstream&tensorrt
Apache License 2.0
533 stars 135 forks source link

error when build code. #12

Open SokPhanith opened 3 years ago

SokPhanith commented 3 years ago

../Makefile.config:26: CUDA_INSTALL_DIR variable is not specified, using /usr/local/cuda by default, use CUDA_INSTALL_DIR= to change. ../Makefile.config:31: CUDNN_INSTALL_DIR variable is not specified, using /usr/local/cuda by default, use CUDNN_INSTALL_DIR= to change. ../Makefile.config:44: TRT_LIB_DIR is not specified, searching ../../lib, ../../lib, ../lib by default, use TRT_LIB_DIR= 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

Tetsujinfr commented 3 years ago

check you opencv install. You do not have the header file installed properly it seems, given the above error description.