Failed to build TensorRT OSS on Jetson (ARM64)

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc) Jetson AGX Xavier
• Network Type (: efficientdet-tf1

TensorRT version:

atic@atic-desktop:/opt/nvidia/deepstream/deepstream-6.1/sources/TensorRT/build$ dpkg -l | grep nvinfer
ii  libnvinfer-bin                             8.4.1-1+cuda11.4                     arm64        TensorRT binaries
ii  libnvinfer-dev                             8.4.1-1+cuda11.4                     arm64        TensorRT development libraries and headers
ii  libnvinfer-plugin-dev                      8.4.1-1+cuda11.4                     arm64        TensorRT plugin libraries
ii  libnvinfer-plugin8                         8.4.1-1+cuda11.4                     arm64        TensorRT plugin libraries
ii  libnvinfer-samples                         8.4.1-1+cuda11.4                     all          TensorRT samples
ii  libnvinfer8                                8.4.1-1+cuda11.4                     arm64        TensorRT runtime libraries
ii  python3-libnvinfer                         8.4.1-1+cuda11.4                     arm64        Python 3 bindings for TensorRT
ii  python3-libnvinfer-dev                     8.4.1-1+cuda11.4                     arm64        Python 3 development package for TensorRT

Jetpack version:

Package: nvidia-jetpack
Version: 5.0.2-b231
Architecture: arm64

Follow the instruction here to install TensorRT OSS, cmake failed with the following error.

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
    linked by target "nvonnxparser_static" in directory /opt/nvidia/deepstream/deepstream-6.1/sources/TensorRT/parsers/onnx
    linked by target "nvonnxparser" in directory /opt/nvidia/deepstream/deepstream-6.1/sources/TensorRT/parsers/onnx

-- Configuring incomplete, errors occurred!
See also "/opt/nvidia/deepstream/deepstream-6.1/sources/TensorRT/build/CMakeFiles/CMakeOutput.log".
See also "/opt/nvidia/deepstream/deepstream-6.1/sources/TensorRT/build/CMakeFiles/CMakeError.log".

CMakeOutput.log and CMakeError.log are attached.
CMakeOutput.log (83.2 KB)

CMakeError.log (3.2 KB)

Moving to Xavier forum for better support.

I changed to this branch 23.08 and worked now.

1 Like

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