Cmake error for building TensorRT OSS on Jetson (ARM64)

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc) Jetson AGX Xavier
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc) Efficientdet-tf1

Tensorrt version:

atic@atic-desktop:~$ 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

I am trying to build TensorRT OSS and got cmake errors for the command

/usr/local/bin/cmake .. -DGPU_ARCHS=72  -DTRT_LIB_DIR=/usr/lib/aarch64-linux-gnu/ -DCMAKE_C_COMPILER=/usr/bin/gcc -DTRT_BIN_DIR=`pwd`/out

How can I fix it?

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:
TENSORRT_LIBRARY_MYELIN
    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".

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

I just moved the previous topic ( Failed to build TensorRT OSS on Jetson (ARM64) - Jetson & Embedded Systems / Jetson AGX Xavier - NVIDIA Developer Forums) to Xavier forum.

I see. that is why it disappeared.

Can pls delete this post? I can’t delete.

just closed it here.