Hello!
I am building the repository from source on a Jetson TX1 using Jetpack 4.4. So far I have succesfully run these commands in this tutorial: jetson-inference/building-repo-2.md at master · dusty-nv/jetson-inference · GitHub
sudo apt-get update $ sudo apt-get install git cmake libpython3-dev python3-numpy $ git clone --recursive https://github.com/dusty-nv/jetson-inference $ cd jetson-inference $ mkdir build $ cd build $ cmake ../
but when I arrive to this command
make -j$(nproc)
I am receiving this in the terminal
`[ 2%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFilterMode.cu.o
[ 3%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YV12.cu.o
[ 3%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaColormap.cu.o
[ 3%] Building NVCC (Device) object utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaCrop.cu.o
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(40): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(41): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(42): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(50): error: identifier "uint64_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(51): error: identifier "uint32_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
/media/dylan/disk/HelloAIWorld/jetson-inference/build/aarch64/include/jetson-utils/endian.h(52): error: identifier "uint16_t" is undefined
12 errors detected in the compilation of "/tmp/tmpxft_000003dd_00000000-8_cudaFilterMode.compute_72.cpp1.ii".
CMake Error at jetson-utils_generated_cudaFilterMode.cu.o.cmake:279 (message):
Error generating file
/media/dylan/disk/HelloAIWorld/jetson-inference/build/utils/CMakeFiles/jetson-utils.dir/cuda/./jetson-utils_generated_cudaFilterMode.cu.o
utils/CMakeFiles/jetson-utils.dir/build.make:755: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFilterMode.cu.o' failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaFilterMode.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
12 errors detected in the compilation of "/tmp/tmpxft_000003e7_00000000-8_cudaCrop.compute_72.cpp1.ii".
CMake Error at jetson-utils_generated_cudaCrop.cu.o.cmake:279 (message):
Error generating file
/media/dylan/disk/HelloAIWorld/jetson-inference/build/utils/CMakeFiles/jetson-utils.dir/cuda/./jetson-utils_generated_cudaCrop.cu.o
utils/CMakeFiles/jetson-utils.dir/build.make:524: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaCrop.cu.o' failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaCrop.cu.o] Error 1
12 errors detected in the compilation of "/tmp/tmpxft_000003e6_00000000-8_cudaYUV-YV12.compute_72.cpp1.ii".
CMake Error at jetson-utils_generated_cudaYUV-YV12.cu.o.cmake:279 (message):
Error generating file
/media/dylan/disk/HelloAIWorld/jetson-inference/build/utils/CMakeFiles/jetson-utils.dir/cuda/./jetson-utils_generated_cudaYUV-YV12.cu.o
utils/CMakeFiles/jetson-utils.dir/build.make:1072: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YV12.cu.o' failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaYUV-YV12.cu.o] Error 1
12 errors detected in the compilation of "/tmp/tmpxft_000003f5_00000000-8_cudaColormap.compute_72.cpp1.ii".
CMake Error at jetson-utils_generated_cudaColormap.cu.o.cmake:279 (message):
Error generating file
/media/dylan/disk/HelloAIWorld/jetson-inference/build/utils/CMakeFiles/jetson-utils.dir/cuda/./jetson-utils_generated_cudaColormap.cu.o
utils/CMakeFiles/jetson-utils.dir/build.make:290: recipe for target 'utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaColormap.cu.o' failed
make[2]: *** [utils/CMakeFiles/jetson-utils.dir/cuda/jetson-utils_generated_cudaColormap.cu.o] Error 1
CMakeFiles/Makefile2:713: recipe for target 'utils/CMakeFiles/jetson-utils.dir/all' failed
make[1]: *** [utils/CMakeFiles/jetson-utils.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2`
I am wondering if you can help me find a solution to this