Unable to make the deepstream_tao_apps

Continuing the discussion from How to use a TAO Created tensorRT unet model in C++:

Downloaded nvcr.io/nvidia/deepstream:6.0.1-samples and tested the deepstream-app.

And run the following commands as instructed here:

git clone https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps.git
cd deepstream_tao_apps
apt-get install wget
./download_models.sh
export CUDA_VER=11.4
make

make -C post_processor
make[1]: Entering directory ‘/opt/nvidia/deepstream/deepstream-6.0/tao/deepstream_tao_apps/post_processor’
g++ -o libnvds_infercustomparser_tao.so nvdsinfer_custombboxparser_tao.cpp -I/opt/nvidia/deepstream/deepstream-6.0/sources/includes -I/usr/local/cuda-11.4/include -Wall -std=c++11 -shared -fPIC -Wl,–start-group -lnvinfer -lnvparsers -L/usr/local/cuda-11.4/lib64 -lcudart -lcublas -Wl,–end-group
In file included from nvdsinfer_custombboxparser_tao.cpp:25:0:
/opt/nvidia/deepstream/deepstream-6.0/sources/includes/nvdsinfer_custom_impl.h:126:10: fatal error: NvCaffeParser.h: No such file or directory
#include “NvCaffeParser.h”
^~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:49: recipe for target ‘libnvds_infercustomparser_tao.so’ failed
make[1]: *** [libnvds_infercustomparser_tao.so] Error 1
make[1]: Leaving directory ‘/opt/nvidia/deepstream/deepstream-6.0/tao/deepstream_tao_apps/post_processor’
Makefile:24: recipe for target ‘all’ failed
make: *** [all] Error 2

Update.

After some research, tt seems the samples nvcr.io/nvidia/deepstream:6.0.1-samples docker is for running the samples only. And only for that.

Perhaps clearer documentation?

Using docker nvcr.io/nvidia/deepstream:6.0.1-devel and was able to build properly

Glad to know issue resolved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.