Hi, I keep getting error while building the jetson inference from source on Jetson Nano.
[ 38%] Linking CXX shared library ../aarch64/lib/libjetson-utils.so
[ 38%] Built target jetson-utils
[ 39%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_superResNet.cu.o
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
[ 40%] Building NVCC (Device) object CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_detectNet.cu.o
<command-line>:0:7: warning: ISO C++11 requires whitespace after the macro name
In file included from /home/jiunhao/jetson-inference/c/detectNet.h:27:0,
from /home/jiunhao/jetson-inference/c/detectNet.cu:23:
/home/jiunhao/jetson-inference/c/tensorNet.h:32:10: fatal error: jetson-utils/cudaUtility.h: No such file or directory
#include <jetson-utils/cudaUtility.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at jetson-inference_generated_detectNet.cu.o.cmake:219 (message):
Error generating
/home/jiunhao/jetson-inference/build/CMakeFiles/jetson-inference.dir/c/./jetson-inference_generated_detectNet.cu.o
CMakeFiles/jetson-inference.dir/build.make:63: recipe for target 'CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_detectNet.cu.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_detectNet.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-inference.dir/all' failed
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Re-flashed the image and still getting same error. Any idea how to resolve this?