Install onnxruntime on Jetson Xavier NX

I would like to install onnxrumtime to have the libraries to compile a C++ project, so I followed intructions in Build with different EPs - onnxruntime
I have a jetson Xavier NX with jetpack 4.5

the onnxruntime build command was

./build.sh --config Release --update --build --parallel --build_wheel --use_cuda --use_tensorrt --cuda_home /usr/local/cuda --cudnn_home /usr/lib/aarch64-linux-gnu --tensorrt_home /usr/lib/aarch64-linux-gnu

and the result

2021-07-23 22:38:27,147 tools_python_utils [INFO] - flatbuffers module is not installed. parse_config will not be available
2021-07-23 22:38:27,197 build [INFO] - Build started
2021-07-23 22:38:27,198 util.run [INFO] - Running subprocess in ‘/home/pjvazquez/dormakaba/onnxruntime’
[‘git’, ‘submodule’, ‘sync’, ‘–recursive’]
Synchronizing submodule url for ‘cmake/external/FeaturizersLibrary’
Synchronizing submodule url for ‘cmake/external/FeaturizersLibrary/src/3rdParty/eigen’
Synchronizing submodule url for ‘cmake/external/FeaturizersLibrary/src/3rdParty/re2’
Synchronizing submodule url for ‘cmake/external/SafeInt/safeint’
Synchronizing submodule url for ‘cmake/external/coremltools’
Synchronizing submodule url for ‘cmake/external/cub’
Synchronizing submodule url for ‘cmake/external/cxxopts’
Synchronizing submodule url for ‘cmake/external/date’
Synchronizing submodule url for ‘cmake/external/dlpack’
Synchronizing submodule url for ‘cmake/external/eigen’
Synchronizing submodule url for ‘cmake/external/emsdk’
Synchronizing submodule url for ‘cmake/external/flatbuffers’
Synchronizing submodule url for ‘cmake/external/googlebenchmark’
Synchronizing submodule url for ‘cmake/external/googletest’
Synchronizing submodule url for ‘cmake/external/json’
Synchronizing submodule url for ‘cmake/external/libprotobuf-mutator’
Synchronizing submodule url for ‘cmake/external/mimalloc’
Synchronizing submodule url for ‘cmake/external/mp11’
Synchronizing submodule url for ‘cmake/external/nsync’
Synchronizing submodule url for ‘cmake/external/onnx’
Synchronizing submodule url for ‘cmake/external/onnx/third_party/benchmark’
Synchronizing submodule url for ‘cmake/external/onnx/third_party/pybind11’
Synchronizing submodule url for ‘cmake/external/onnx-tensorrt’
Synchronizing submodule url for ‘cmake/external/onnx-tensorrt/third_party/onnx’
Synchronizing submodule url for ‘cmake/external/onnx-tensorrt/third_party/onnx/third_party/benchmark’
Synchronizing submodule url for ‘cmake/external/onnx-tensorrt/third_party/onnx/third_party/pybind11’
Synchronizing submodule url for ‘cmake/external/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang’
Synchronizing submodule url for ‘cmake/external/onnxruntime-extensions’
Synchronizing submodule url for ‘cmake/external/optional-lite’
Synchronizing submodule url for ‘cmake/external/protobuf’
Synchronizing submodule url for ‘cmake/external/protobuf/third_party/benchmark’
Synchronizing submodule url for ‘cmake/external/protobuf/third_party/googletest’
Synchronizing submodule url for ‘cmake/external/pytorch_cpuinfo’
Synchronizing submodule url for ‘cmake/external/re2’
Synchronizing submodule url for ‘cmake/external/tensorboard’
Synchronizing submodule url for ‘cmake/external/tvm’
Synchronizing submodule url for ‘cmake/external/tvm/3rdparty/HalideIR’
Synchronizing submodule url for ‘cmake/external/tvm/3rdparty/dlpack’
Synchronizing submodule url for ‘cmake/external/tvm/3rdparty/dmlc-core’
Synchronizing submodule url for ‘cmake/external/tvm/3rdparty/rang’
Synchronizing submodule url for ‘cmake/external/wil’
Synchronizing submodule url for ‘server/external/spdlog’
2021-07-23 22:38:32,706 util.run [DEBUG] - Subprocess completed. Return code: 0
2021-07-23 22:38:32,709 util.run [INFO] - Running subprocess in ‘/home/pjvazquez/dormakaba/onnxruntime’
[‘git’, ‘submodule’, ‘update’, ‘–init’, ‘–recursive’]
2021-07-23 22:38:34,770 util.run [DEBUG] - Subprocess completed. Return code: 0
2021-07-23 22:38:34,772 build [INFO] - Generating CMake build tree
2021-07-23 22:38:34,774 util.run [INFO] - Running subprocess in ‘/home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release’
[’/usr/bin/cmake’, ‘/home/pjvazquez/dormakaba/onnxruntime/cmake’, ‘-Donnxruntime_RUN_ONNX_TESTS=OFF’, ‘-Donnxruntime_BUILD_WINML_TESTS=ON’, ‘-Donnxruntime_GENERATE_TEST_REPORTS=ON’, ‘-Donnxruntime_DEV_MODE=ON’, ‘-DPython_EXECUTABLE=/home/pjvazquez/miniconda3/bin/python3’, ‘-DPYTHON_EXECUTABLE=/home/pjvazquez/miniconda3/bin/python3’, ‘-Donnxruntime_ROCM_VERSION=’, ‘-Donnxruntime_USE_FEATURIZERS=OFF’, ‘-Donnxruntime_USE_MIMALLOC_STL_ALLOCATOR=OFF’, ‘-Donnxruntime_USE_MIMALLOC_ARENA_ALLOCATOR=OFF’, ‘-Donnxruntime_ENABLE_PYTHON=ON’, ‘-Donnxruntime_BUILD_CSHARP=OFF’, ‘-Donnxruntime_BUILD_JAVA=OFF’, ‘-Donnxruntime_BUILD_NODEJS=OFF’, ‘-Donnxruntime_BUILD_OBJC=OFF’, ‘-Donnxruntime_BUILD_SHARED_LIB=OFF’, ‘-Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF’, ‘-Donnxruntime_USE_DNNL=OFF’, ‘-Donnxruntime_DNNL_GPU_RUNTIME=’, ‘-Donnxruntime_DNNL_OPENCL_ROOT=’, ‘-Donnxruntime_USE_NNAPI_BUILTIN=OFF’, ‘-Donnxruntime_USE_RKNPU=OFF’, ‘-Donnxruntime_USE_OPENMP=OFF’, ‘-Donnxruntime_USE_TVM=OFF’, ‘-Donnxruntime_USE_LLVM=OFF’, ‘-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF’, ‘-Donnxruntime_USE_VITISAI=OFF’, ‘-Donnxruntime_USE_NUPHAR=OFF’, ‘-Donnxruntime_USE_TENSORRT=ON’, ‘-Donnxruntime_TENSORRT_HOME=/usr/lib/aarch64-linux-gnu’, ‘-Donnxruntime_USE_MIGRAPHX=OFF’, ‘-Donnxruntime_MIGRAPHX_HOME=’, ‘-Donnxruntime_CROSS_COMPILING=OFF’, ‘-Donnxruntime_DISABLE_CONTRIB_OPS=OFF’, ‘-Donnxruntime_DISABLE_ML_OPS=OFF’, ‘-Donnxruntime_DISABLE_RTTI=OFF’, ‘-Donnxruntime_DISABLE_EXCEPTIONS=OFF’, ‘-Donnxruntime_DISABLE_ORT_FORMAT_LOAD=OFF’, ‘-Donnxruntime_MINIMAL_BUILD=OFF’, ‘-Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF’, ‘-Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF’, ‘-Donnxruntime_REDUCED_OPS_BUILD=OFF’, ‘-Donnxruntime_ENABLE_LANGUAGE_INTEROP_OPS=OFF’, ‘-Donnxruntime_USE_DML=OFF’, ‘-Donnxruntime_USE_WINML=OFF’, ‘-Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF’, ‘-Donnxruntime_USE_TELEMETRY=OFF’, ‘-Donnxruntime_ENABLE_LTO=OFF’, ‘-Donnxruntime_ENABLE_TRANSFORMERS_TOOL_TEST=OFF’, ‘-Donnxruntime_USE_ACL=OFF’, ‘-Donnxruntime_USE_ACL_1902=OFF’, ‘-Donnxruntime_USE_ACL_1905=OFF’, ‘-Donnxruntime_USE_ACL_1908=OFF’, ‘-Donnxruntime_USE_ACL_2002=OFF’, ‘-Donnxruntime_USE_ARMNN=OFF’, ‘-Donnxruntime_ARMNN_RELU_USE_CPU=ON’, ‘-Donnxruntime_ARMNN_BN_USE_CPU=ON’, ‘-Donnxruntime_ENABLE_NVTX_PROFILE=OFF’, ‘-Donnxruntime_ENABLE_TRAINING=OFF’, ‘-Donnxruntime_ENABLE_TRAINING_OPS=OFF’, ‘-Donnxruntime_ENABLE_CPU_FP16_OPS=OFF’, ‘-Donnxruntime_USE_NCCL=ON’, ‘-Donnxruntime_BUILD_BENCHMARKS=OFF’, ‘-Donnxruntime_USE_ROCM=OFF’, ‘-Donnxruntime_ROCM_HOME=’, ‘-DOnnxruntime_GCOV_COVERAGE=OFF’, ‘-Donnxruntime_USE_MPI=ON’, ‘-Donnxruntime_ENABLE_MEMORY_PROFILE=OFF’, ‘-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF’, ‘-Donnxruntime_BUILD_WEBASSEMBLY=OFF’, ‘-Donnxruntime_ENABLE_WEBASSEMBLY_SIMD=OFF’, ‘-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON’, ‘-Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF’, ‘-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF’, ‘-Donnxruntime_WEBASSEMBLY_MALLOC=dlmalloc’, ‘-Donnxruntime_ENABLE_EAGER_MODE=OFF’, ‘-Donnxruntime_ENABLE_EXTENSION_CUSTOM_OPS=OFF’, ‘-Donnxruntime_USE_CUDA=ON’, ‘-Donnxruntime_CUDA_VERSION=’, ‘-Donnxruntime_CUDA_HOME=/usr/lib/aarch64-linux-gnu’, ‘-Donnxruntime_CUDNN_HOME=/usr/lib/aarch64-linux-gnu’, ‘-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$CONFIG:Debug:Debug>DLL’, ‘-DONNX_USE_MSVC_STATIC_RUNTIME=OFF’, ‘-Dprotobuf_MSVC_STATIC_RUNTIME=OFF’, ‘-Dgtest_force_shared_crt=ON’, ‘-Donnxruntime_USE_FULL_PROTOBUF=ON’, ‘-DProtobuf_USE_STATIC_LIBS=ON’, ‘-DCUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs’, ‘-Donnxruntime_PYBIND_EXPORT_OPSCHEMA=OFF’, ‘-Donnxruntime_ENABLE_MEMLEAK_CHECKER=OFF’, ‘-DCMAKE_BUILD_TYPE=Release’]
F16C instruction set is not supported.
FMA instruction set is not supported.
AVX instruction set is not supported.
One or more AVX/F16C instruction flags are not supported.
Use gtest from submodule
– Found Python: /home/pjvazquez/miniconda3/bin/python3 (found version “3.8.8”) found components: Interpreter
– Found Python: /home/pjvazquez/miniconda3/bin/python3 (found suitable version “3.8.8”, minimum required is “3.6”) found components: Interpreter Development.Module NumPy
Use protobuf from submodule

– 3.16.0.0
– Using the single-header code from /home/pjvazquez/dormakaba/onnxruntime/cmake/external/json/single_include/
– CMAKE_SYSTEM_PROCESSOR = aarch64
– CMAKE_SYSTEM_NAME = Linux
– CMAKE_OSX_ARCHITECTURES =
– IOS_ARCH =
NVCC_ERROR =
NVCC_OUT = No such file or directory
Generated: /home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release/external/onnx/onnx/onnx-ml.proto
Generated: /home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release/external/onnx/onnx/onnx-operators-ml.proto
Generated: /home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release/external/onnx/onnx/onnx-data.proto

– ******** Summary ********
– CMake version : 3.21.0
– CMake command : /usr/bin/cmake
– System : Linux
– C++ compiler : /usr/bin/c++
– C++ compiler version : 7.5.0
– CXX flags : -ffunction-sections -fdata-sections -Wnon-virtual-dtor
– Build type : Release
– Compile definitions : ENABLE_ORT_FORMAT_LOAD;EIGEN_MPL2_ONLY;PLATFORM_POSIX
– CMAKE_PREFIX_PATH :
– CMAKE_INSTALL_PREFIX : /usr/local
– CMAKE_MODULE_PATH : /home/pjvazquez/dormakaba/onnxruntime/cmake/external

– ONNX version : 1.9.0
– ONNX NAMESPACE : onnx
– ONNX_USE_LITE_PROTO : OFF
– USE_PROTOBUF_SHARED_LIBS : OFF
– ONNX_DISABLE_EXCEPTIONS : OFF
– ONNX_WERROR : OFF
– ONNX_BUILD_TESTS : OFF
– ONNX_BUILD_BENCHMARKS : OFF
– ONNXIFI_DUMMY_BACKEND : OFF
– ONNXIFI_ENABLE_EXT : OFF

– Protobuf compiler :
– Protobuf includes :
– Protobuf libraries :
– BUILD_ONNX_PYTHON : OFF
– CMAKE_CUDA_COMPILER_VERSION: 10.2.89
– Found TensorRT headers at /usr/include/aarch64-linux-gnu
– Find TensorRT libs at /usr/lib/aarch64-linux-gnu/libnvinfer.so;/usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so;/usr/lib/aarch64-linux-gnu/libmyelin.so
CMake Warning at flake8.cmake:19 (message):
Could not find ‘flake8’ to check python scripts. Please install flake8
using pip.
Call Stack (most recent call first):
CMakeLists.txt:1785 (include)

– Configuring done
– Generating done
– Build files have been written to: /home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release
2021-07-23 22:38:38,577 util.run [DEBUG] - Subprocess completed. Return code: 0
2021-07-23 22:38:38,578 build [INFO] - Building targets for Release configuration
2021-07-23 22:38:38,580 util.run [INFO] - Running subprocess in ‘/home/pjvazquez/dormakaba/onnxruntime’
[’/usr/bin/cmake’, ‘–build’, ‘/home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release’, ‘–config’, ‘Release’, ‘–’, ‘-j6’]
Consolidate compiler generated dependencies of target flatbuffers
Consolidate compiler generated dependencies of target clog
Scanning dependencies of target onnxruntime_mlas
Consolidate compiler generated dependencies of target flatc
Consolidate compiler generated dependencies of target onnxruntime_mlas
Consolidate compiler generated dependencies of target nsync_cpp
Consolidate compiler generated dependencies of target libprotobuf
[ 3%] Built target onnxruntime_mlas
Consolidate compiler generated dependencies of target re2
[ 3%] Built target clog
[ 4%] Built target flatbuffers
[ 7%] Built target nsync_cpp
Consolidate compiler generated dependencies of target onnxruntime_test_cuda_ops_lib
Consolidate compiler generated dependencies of target onnxruntime_providers_shared
Consolidate compiler generated dependencies of target gtest
[ 9%] Built target flatc
[ 9%] Built target onnxruntime_providers_shared
[ 9%] Built target onnxruntime_test_cuda_ops_lib
[ 10%] Built target re2
[ 10%] Built target gtest
Consolidate compiler generated dependencies of target custom_op_library
[ 10%] Performing update step for ‘pybind11’
Consolidate compiler generated dependencies of target cpuinfo
Consolidate compiler generated dependencies of target gmock
[ 10%] Built target custom_op_library
[ 17%] Built target libprotobuf
[ 18%] Built target gmock
[ 19%] Built target cpuinfo
[ 20%] No patch step for ‘pybind11’
[ 20%] No configure step for ‘pybind11’
[ 20%] No build step for ‘pybind11’
Consolidate compiler generated dependencies of target libprotoc
[ 20%] No install step for ‘pybind11’
[ 20%] Completed ‘pybind11’
[ 20%] Built target pybind11
[ 26%] Built target libprotoc
Consolidate compiler generated dependencies of target protoc
[ 26%] Built target protoc
[ 26%] Built target gen_onnx_proto
Consolidate compiler generated dependencies of target onnx_proto
[ 27%] Built target onnx_proto
Consolidate compiler generated dependencies of target onnxruntime_flatbuffers
Consolidate compiler generated dependencies of target onnx_test_data_proto
Consolidate compiler generated dependencies of target onnxruntime_graph
Consolidate compiler generated dependencies of target onnxruntime_session
Consolidate compiler generated dependencies of target onnx
[ 27%] Built target onnx_test_data_proto
[ 27%] Built target onnxruntime_flatbuffers
Consolidate compiler generated dependencies of target onnxruntime_optimizer
Consolidate compiler generated dependencies of target onnxruntime_test_utils
[ 29%] Built target onnxruntime_graph
[ 30%] Built target onnxruntime_session
Consolidate compiler generated dependencies of target onnxruntime_common
Consolidate compiler generated dependencies of target onnxruntime_util
[ 31%] Built target onnxruntime_test_utils
Consolidate compiler generated dependencies of target onnx_test_runner_common
[ 34%] Built target onnx
Consolidate compiler generated dependencies of target nvonnxparser_static
[ 35%] Built target onnxruntime_common
[ 35%] Built target onnxruntime_util
Consolidate compiler generated dependencies of target nvonnxparser
[ 36%] Built target onnx_test_runner_common
[ 37%] Built target nvonnxparser_static
Consolidate compiler generated dependencies of target onnxruntime_framework
Consolidate compiler generated dependencies of target onnxruntime_mlas_test
Consolidate compiler generated dependencies of target onnxruntime_providers_cuda
Consolidate compiler generated dependencies of target onnxruntime_providers
[ 39%] Built target nvonnxparser
[ 44%] Built target onnxruntime_optimizer
Consolidate compiler generated dependencies of target onnxruntime_providers_tensorrt
[ 44%] Built target onnxruntime_providers_tensorrt
[ 45%] Built target onnxruntime_mlas_test
[ 50%] Built target onnxruntime_framework
[ 64%] Built target onnxruntime_providers_cuda
[ 78%] Built target onnxruntime_providers
Consolidate compiler generated dependencies of target onnx_test_runner
Consolidate compiler generated dependencies of target onnxruntime_perf_test
Consolidate compiler generated dependencies of target onnxruntime_pybind11_state
[ 78%] Built target onnx_test_runner
[ 78%] Built target onnxruntime_perf_test
[ 79%] Built target onnxruntime_pybind11_state
Consolidate compiler generated dependencies of target onnxruntime_test_all
[ 79%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/kernel_def_hash_test.cc.o
[ 79%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/cpu/math/einsum_test.cc.o
[ 79%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/cpu/math/element_wise_ops_test.cc.o
[ 80%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/cpu/math/gemm_test.cc.o
[ 80%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/cpu/math/hardmax_test.cc.o
[ 80%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/cpu/math/logsoftmax_test.cc.o
In file included from /home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/kernel_def_hash_test.cc:65:0:
/home/pjvazquez/dormakaba/onnxruntime/cmake/external/json/single_include/nlohmann/json.hpp: In member function ‘void nlohmann::detail::serializer::dump_escaped(const string_t&, bool) [with BasicJsonType = nlohmann::basic_json<>]’:
/home/pjvazquez/dormakaba/onnxruntime/cmake/external/json/single_include/nlohmann/json.hpp:15817:10: error: ‘%.2X’ directive output may be truncated writing between 2 and 8 bytes into a region of size 3 [-Werror=format-truncation=]
void dump_escaped(const string_t& s, const bool ensure_ascii)
^~~~~~~~~~~~
/home/pjvazquez/dormakaba/onnxruntime/cmake/external/json/single_include/nlohmann/json.hpp:15817:10: note: directive argument in the range [0, 2147483647]
In file included from /usr/include/stdio.h:862:0,
from /usr/include/c++/7/cstdio:42,
from /usr/include/c++/7/ext/string_conversions.h:43,
from /usr/include/c++/7/bits/basic_string.h:6361,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/istream:38,
from /usr/include/c++/7/fstream:38,
from /home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/kernel_def_hash_test.cc:56:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 3 and 9 bytes into a destination of size 3
__bos (__s), __fmt, __va_arg_pack ());
^
cc1plus: all warnings being treated as errors
CMakeFiles/onnxruntime_test_all.dir/build.make:1755: recipe for target ‘CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/kernel_def_hash_test.cc.o’ failed
make[2]: *** [CMakeFiles/onnxruntime_test_all.dir/home/pjvazquez/dormakaba/onnxruntime/onnxruntime/test/providers/kernel_def_hash_test.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs…
CMakeFiles/Makefile2:538: recipe for target ‘CMakeFiles/onnxruntime_test_all.dir/all’ failed
make[1]: *** [CMakeFiles/onnxruntime_test_all.dir/all] Error 2
Makefile:165: recipe for target ‘all’ failed
make: *** [all] Error 2
Traceback (most recent call last):
File “/home/pjvazquez/dormakaba/onnxruntime/tools/ci_build/build.py”, line 2208, in
sys.exit(main())
File “/home/pjvazquez/dormakaba/onnxruntime/tools/ci_build/build.py”, line 2132, in main
build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.target)
File “/home/pjvazquez/dormakaba/onnxruntime/tools/ci_build/build.py”, line 1098, in build_targets
run_subprocess(cmd_args, env=env)
File “/home/pjvazquez/dormakaba/onnxruntime/tools/ci_build/build.py”, line 593, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
File “/home/pjvazquez/dormakaba/onnxruntime/tools/python/util/run.py”, line 41, in run
completed_process = subprocess.run(
File “/home/pjvazquez/miniconda3/lib/python3.8/subprocess.py”, line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[’/usr/bin/cmake’, ‘–build’, ‘/home/pjvazquez/dormakaba/onnxruntime/build/Linux/Release’, ‘–config’, ‘Release’, ‘–’, ‘-j6’]’ returned non-zero exit status 2.

How can I fix this problem?

Thanks a lot

1 Like

Hi,

You can find an onnxruntime package for Jetson below.
The webpage also has some information to build onnxruntime from the source on Jetson.
https://elinux.org/Jetson_Zoo#ONNX_Runtime

Thanks.

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