ceccocats / tkDNN

Deep neural network library and toolkit to do high performace inference on NVIDIA jetson platforms
GNU General Public License v2.0
718 stars 209 forks source link

Makefile issue #206

Closed blake-espeland closed 2 years ago

blake-espeland commented 3 years ago

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:

[ 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
mive93 commented 3 years ago

Hi @blake-espeland , have you followed the README? From the tkDNN folder run

mkdir build
cd build
cmake .. 
make
mive93 commented 2 years ago

Closing for inactivity. Feel free to reopen.