Closed geekplusaa closed 3 years ago
cd {this repo}/nvdsinfer_custom_impl_yolox/
make
error
g++ -c -o nvdsparsebbox_yolox.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../../includes -I/usr/local/cuda-11.1/include -I/usr/local/include/opencv4/opencv2 -I/usr/lib/gcc/x86_64-linux-gnu/9/include/ -fopenmp nvdsparsebbox_yolox.cpp
In file included from nvdsparsebbox_yolox.cpp:25:
../../includes/nvdsinfer_custom_impl.h:128:10: fatal error: NvCaffeParser.h: 没有那个文件或目录
128 | #include "NvCaffeParser.h"
| ^~~~~
compilation terminated.
make: *** [Makefile:44:nvdsparsebbox_yolox.o] 错误 1
g++ -c -o nvdsparsebbox_yolox.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../../includes -I/usr/local/cuda-11.1/include -I/usr/local/include/opencv4/opencv2 -I/usr/lib/gcc/x86_64-linux-gnu/9/include/ -fopenmp nvdsparsebbox_yolox.cpp In file included from nvdsparsebbox_yolox.cpp:25: ../../includes/nvdsinfer_custom_impl.h:128:10: fatal error: NvCaffeParser.h: 没有那个文件或目录 128 | #include "NvCaffeParser.h" | ^
~~~~ compilation terminated. make: *** [Makefile:44:nvdsparsebbox_yolox.o] 错误 1