NVIDIA-AI-IOT / deepstream_tao_apps

Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
MIT License
377 stars 97 forks source link

Build failed: NvCaffeParser.h: No such file or directory #8

Closed OctaM closed 4 years ago

OctaM commented 4 years ago

I installed nvidia deepstream-5.0 sdk and I'm trying to build this repo, but I have a problem. After setting the DS_SRC_PATH and CUDA_VER, I can't build it. Here's some logs:

make[1]: Entering directory '/home/rockefella09/deepstream_tlt_apps/nvdsinfer_customparser_dssd_tlt' g++ -o libnvds_infercustomparser_dssd_tlt.so nvdsinfer_custombboxparser_dssd_tlt.cpp -I/opt/nvidia/deepstream/deepstream/sour ces/includes -I/usr/local/cuda-10.2/include -Wall -std=c++11 -shared -fPIC -Wl,--start-group -lnvinfer -lnvparsers -L/usr/loc al/cuda-10.2/lib64 -lcudart -lcublas -Wl,--end-group In file included from nvdsinfer_custombboxparser_dssd_tlt.cpp:14:0: /opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer_custom_impl.h:128:10: fatal error: NvCaffeParser.h: No such file or directory

include "NvCaffeParser.h"

      ^~~~~~~~~~~~~~~~~

compilation terminated. Makefile:41: recipe for target 'libnvds_infercustomparser_dssd_tlt.so' failed make[1]: [libnvds_infercustomparser_dssd_tlt.so] Error 1 make[1]: Leaving directory '/home/rockefella09/deepstream_tlt_apps/nvdsinfer_customparser_dssd_tlt' Makefile:68: recipe for target 'deepstream-custom' failed make: [deepstream-custom] Error 2

morganh-nv commented 4 years ago

I think I already fix your issue at https://forums.developer.nvidia.com/t/error-while-building-deepstream-tlt-apps/127313/7