Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Tesla T4
• DeepStream Version: 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.6.1.6-1+cuda12.0
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): question
I encounter an error when compiling my code using CUDA 12.2 with the container tag nvcr.io/nvidia/deepstream:7.0-samples-multiarch
.
=> ERROR [deepstream 16/16] RUN make clean && make 2.5s
------
> [deepstream 16/16] RUN make clean && make:
0.223 rm -rf src/pipeline.o pipeline
0.231 g++ -c -o src/pipeline.o -I/opt/nvidia/deepstream/deepstream-7.0/sources/includes -I /usr/local/cuda-12.2/include -I include/ -I/usr/local/include -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu src/pipeline.cpp
1.173 In file included from src/pipeline.cpp:17:
1.173 include/pipeline.h:23:10: fatal error: cuda_runtime_api.h: No such file or directory
1.173 23 | #include <cuda_runtime_api.h>
1.173 | ^~~~~~~~~~~~~~~~~~~~
1.173 compilation terminated.
1.182 make: *** [Makefile:56: src/pipeline.o] Error 1
------
failed to solve: process "/bin/sh -c make clean && make" did not complete successfully: exit code: 2
However, I can successfully compile my code with CUDA 12.2 using the tag nvcr.io/nvidia/deepstream:7.0-gc-triton-devel
. The error occurs specifically with the samples-multiarch
tag, whereas the gc-triton-devel
tag allows compilation without issues. What could be causing this discrepancy, and how can I resolve it?