tensorrtx
tensorrtx copied to clipboard
make error CMakeFiles/yolov5.dir/build.make:147: recipe for target 'yolov5' failed
[100%] Linking CXX executable yolov5
/usr/bin/ld: warning: libnvrtc.so.10.2, needed by /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcublas.so.10, needed by /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libcublasLt.so.10, needed by /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1, not found (try using -rpath or -rpath-link)
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libnvinfer.so: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
/home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]' /home/zy/download/TensorRT-7.2.2.3/lib/libmyelin.so.1: undefined reference to [email protected]'
collect2: error: ld returned 1 exit status
CMakeFiles/yolov5.dir/build.make:147: recipe for target 'yolov5' failed
make[2]: *** [yolov5] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/yolov5.dir/all' failed
make[1]: *** [CMakeFiles/yolov5.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
please help!
cmake .. -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CUDA: /usr/local/cuda-10.0 (found version "10.0") -- Found OpenCV: /usr/local (found version "4.5.1") -- Configuring done -- Generating done
respect,did you fix this problem and I have the same problem。
You have installed cuda10.0, but you tensorrt depends on cuda10.2.
You need to install proper version of cuda&tensorrt.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.