I am using Jetpack 4.6 on Jetson Xavier. The dockerfile build is failing as shown below:
This happens at Step 13/19
Could NOT find TENSORRT (missing: TENSORRT_LIBRARY)
ERRORCannot find TensorRT library.
-- Configuring done
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 /onnx-tensorrt
linked by target "nvonnxparser" in directory /onnx-tensorrt
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
The command '/bin/sh -c git clone https://github.com/onnx/onnx-tensorrt.git && cd onnx-tensorrt && git checkout 7.0 && git submodule update --init --recursive && mkdir build && cd build && cmake .. -DTENSORRT_ROOT=/usr/src/tensorrt/ && make -j$(nproc) && make install && cd ../.. && rm -rf onnx-tensorrt' returned a non-zero code: 1
I am using Jetpack 4.6 on Jetson Xavier. The dockerfile build is failing as shown below: This happens at Step 13/19 Could NOT find TENSORRT (missing: TENSORRT_LIBRARY) ERRORCannot find TensorRT library. -- Configuring done 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 /onnx-tensorrt linked by target "nvonnxparser" in directory /onnx-tensorrt
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. The command '/bin/sh -c git clone https://github.com/onnx/onnx-tensorrt.git && cd onnx-tensorrt && git checkout 7.0 && git submodule update --init --recursive && mkdir build && cd build && cmake .. -DTENSORRT_ROOT=/usr/src/tensorrt/ && make -j$(nproc) && make install && cd ../.. && rm -rf onnx-tensorrt' returned a non-zero code: 1