CMake ran just fine, but running make on the base directory caused this error to occur when trying to link demo.cpp.o in CMakeFiles/demo.dir/demo/demo. For some reason, though, it keeps getting caught up on this:
[ 98%] Linking CXX executable demo
/usr/bin/ld: cannot open output file demo: Is a directory
collect2: error: ld returned 1 exit status
CMakeFiles/demo.dir/build.make:125: recipe for target 'demo' failed
make[2]: *** [demo] Error 1
CMakeFiles/Makefile2:1085: recipe for target 'CMakeFiles/demo.dir/all' failed
make[1]: *** [CMakeFiles/demo.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
Machine: Nvidia Jetson Xavier NX OS: L4T v.32.5.1 cmake: 3.19.6 Cuda: 10.2.89 CuDNN: 8.0.0 Tensorrt: 7.1.3
CMake ran just fine, but running
make
on the base directory caused this error to occur when trying to link demo.cpp.o in CMakeFiles/demo.dir/demo/demo. For some reason, though, it keeps getting caught up on this: