Please provide complete information as applicable to your setup.
**• Hardware Platform (Jetson / GPU)**jetson nano 4G
• DeepStream Version6.0.1
**• JetPack Version (valid for Jetson only)**4.6.2
• TensorRT Version8.2.1.8
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
run deepstream examples error
g++ -c -o nvdsinfer_yolo_engine.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I…/…/includes -I/usr/local/cuda-10.2/include nvdsinfer_yolo_engine.cpp
g++ -c -o nvdsparsebbox_Yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I…/…/includes -I/usr/local/cuda-10.2/include nvdsparsebbox_Yolo.cpp
g++ -c -o yoloPlugins.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I…/…/includes -I/usr/local/cuda-10.2/include yoloPlugins.cpp
g++ -c -o trt_utils.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I…/…/includes -I/usr/local/cuda-10.2/include trt_utils.cpp
g++ -c -o yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I…/…/includes -I/usr/local/cuda-10.2/include yolo.cpp
yolo.cpp: In member function ‘nvinfer1::ICudaEngine* Yolo::createEngine(nvinfer1::IBuilder*, nvinfer1::IBuilderConfig*)’:
yolo.cpp:57:26: warning: ‘void nvinfer1::INetworkDefinition::destroy()’ is deprecated [-Wdeprecated-declarations]
network->destroy();
^
In file included from yolo.h:31:0,
from yolo.cpp:23:
/usr/include/aarch64-linux-gnu/NvInfer.h:6438:25: note: declared here
TRT_DEPRECATED void destroy() noexcept
^~~~~~~
yolo.cpp:63:86: warning: ‘nvinfer1::ICudaEngine* nvinfer1::IBuilder::buildEngineWithConfig(nvinfer1::INetworkDefinition&, nvinfer1::IBuilderConfig&)’ is deprecated [-Wdeprecated-declarations]
fer1::ICudaEngine * engine = builder->buildEngineWithConfig(*network, config);
^
In file included from yolo.h:31:0,
from yolo.cpp:23:
/usr/include/aarch64-linux-gnu/NvInfer.h:8642:43: note: declared here
TRT_DEPRECATED nvinfer1::ICudaEngine buildEngineWithConfig(
^~~~~~~~~~~~~~~~~~~~~
yolo.cpp:71:22: warning: ‘void nvinfer1::INetworkDefinition::destroy()’ is deprecated [-Wdeprecated-declarations]
network->destroy();
^
In file included from yolo.h:31:0,
from yolo.cpp:23:
/usr/include/aarch64-linux-gnu/NvInfer.h:6438:25: note: declared here
TRT_DEPRECATED void destroy() noexcept
^~~~~~~
/usr/local/cuda-10.2/bin/nvcc -c -o kernels.o --compiler-options ‘-fPIC’ kernels.cu
g++ -o libnvdsinfer_custom_impl_Yolo.so nvdsinfer_yolo_engine.o nvdsparsebbox_Yolo.o yoloPlugins.o trt_utils.o yolo.o kernels.o -shared -Wl,–start-group -lnvinfer_plugin -lnvinfer -lnvparsers -L/usr/local/cuda-10.2/lib64 -lcudart -lcublas -lstdc++fs -Wl,–end-group