However, I had to re-flash my Jetson TX2 a few weeks ago and am trying to redo the results. I’m able to run cmake without trouble, but then when I run make I get the following error:
[ 25%] Building CXX object CMakeFiles/jetson-inference.dir/segNet.cpp.o
In file included from /media/nvidia/SSD1TB/home/nvidia/nvidia_digits/jetson-inference/segNet.h:27:0,
from /media/nvidia/SSD1TB/home/nvidia/nvidia_digits/jetson-inference/segNet.cpp:23:
/media/nvidia/SSD1TB/home/nvidia/nvidia_digits/jetson-inference/tensorNet.h:27:21: fatal error: NvInfer.h: No such file or directory
#include "NvInfer.h"
^
compilation terminated.
CMakeFiles/jetson-inference.dir/build.make:125: recipe for target 'CMakeFiles/jetson-inference.dir/segNet.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/segNet.cpp.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:127: recipe for target 'all' failed
make: *** [all] Error 2
On my Jetson TX2, NvInfer.h and NvCaffeParser.h are both located in this directory:
/media/nvidia/SSD1TB/usr/include/aarch64-linux-gnu/
How can I point the make command to these files so that it will finish compiling successfully?