enazoe / yolo-tensorrt

TensorRT8.Support Yolov5n,s,m,l,x .darknet -> tensorrt. Yolov4 Yolov3 use raw darknet *.weights and *.cfg fils. If the wrapper is useful to you,please Star it.
MIT License
1.19k stars 316 forks source link

fatal error: NvInfer.h: No such file or directory #106

Closed Tengyun-Mo closed 3 years ago

Tengyun-Mo commented 3 years ago

When I make this project, I got the error: fatal error: NvInfer.h: No such file or directory How to fix it ?Thanks

enazoe commented 3 years ago

check the install of tensorrt

xielock commented 3 years ago

I have met the same problem, and I fix this problem through editting the CMakeLists, adding one line: include_directories(/your_PATH/TensorRT-6.0.1.5/include/)