Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson )
**• DeepStream Version - 6.3
**• JetPack Version 5.1.2-b104
**• TensorRT Version 8.5.2.2 • NVIDIA GPU Driver Version (valid for GPU only)
**• Docker container used : nvcr.io/nvidia/deepstream-l4t:6.3-samples • Issue Type( questions, new requirements, bugs)
Error • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Compile the sample app objectDetector_Yolo which is inside the docker container nvcr.io/nvidia/deepstream-l4t:6.3-samples inside the path /opt/nvidia/deepstream/deepstream-6.3/sources/objectDetector_Yolo/
Compile command is sudo -E make -C nvdsinfer_custom_impl_Yolo
The Error was
root@ubuntu:/realtime/objectDetector_Yolo# sudo -E make -C nvdsinfer_custom_impl_Yolo
make: Entering directory '/realtime/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo'
g++ -c -o nvdsinfer_yolo_engine.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-11.4/include nvdsinfer_yolo_engine.cpp
In file included from nvdsinfer_yolo_engine.cpp:23:
../includes/nvdsinfer_custom_impl.h:127:10: fatal error: NvCaffeParser.h: No such file or directory
127 | #include "NvCaffeParser.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:61: nvdsinfer_yolo_engine.o] Error 1
make: Leaving directory '/realtime/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo'
When i check the file it wasn’t there inside the container
But it is there outside the container in /usr/includes
Even though i run the docker as below , inside the docker container i couldn’t find the file NvCaffeParser.h and when i run inside the docker container sudo -E make -C nvdsinfer_custom_impl_Yolo i get the same error as below
sudo docker run -it --rm --runtime nvidia --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -v <path to the home>/realtime:/realtime -v /run/systemd/system:/run/systemd/system -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v /etc:/etc -v /var/lib:/var/lib registry.gitlab.com/aoye/ai-ninjas/ai_deployment_pipeline/realtime:yolo_sample bash
Error
root@ubuntu:/realtime/objectDetector_Yolo# sudo -E make -C nvdsinfer_custom_impl_Yolo
make: Entering directory '/realtime/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo'
g++ -c -o nvdsinfer_yolo_engine.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I../includes -I/usr/local/cuda-11.4/include nvdsinfer_yolo_engine.cpp
In file included from nvdsinfer_yolo_engine.cpp:23:
../includes/nvdsinfer_custom_impl.h:127:10: fatal error: NvCaffeParser.h: No such file or directory
127 | #include "NvCaffeParser.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:61: nvdsinfer_yolo_engine.o] Error 1
make: Leaving directory '/realtime/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo'
root@ubuntu:/realtime/objectDetector_Yolo# exit
exit
But the container is recommended to use for dGPU not for Jetson i am working with Jetson
In the same material the container “docker pull nvcr.io/nvidia/deepstream-l4t:6.3-samples” is recommended for Jetson i think , this is the same container i am using
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
one correction. it should be nvcr.io/nvidia/deepstream:6.3-triton-multiarch on Jetson. please refer to DS_docker_containers