tensorrtx icon indicating copy to clipboard operation
tensorrtx copied to clipboard

cmake error

Open ChanghaoZheng opened this issue 1 year ago • 2 comments

Env

  • GPU, NVIDIA GeForce GTX 1650
  • OS, Ubuntu18.04
  • Cuda version:None
  • TensorRT version:yolov5-v5.0

About this repo

  • which branch/tag/commit are you using? tensorrtx-yolov5-v5.0
  • which model? yolov5, retinaface? yolov5-5.0,yolov5s.pt

Your problem

  • what is your command? 'cmake ..'
  • what's your output?-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.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 CMake Error at /usr/share/cmake-3.10/Modules/FindCUDA.cmake:682 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): CMakeLists.txt:11 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/zheng/yolov5-deepsort-tensorrt-c++/tensorrtx-yolov5-v5.0/yolov5/build/CMakeFiles/CMakeOutput.log".

  • what output do you expect? successly building

ChanghaoZheng avatar Apr 29 '24 13:04 ChanghaoZheng

CUDA is required.

wang-xinyu avatar Apr 30 '24 02:04 wang-xinyu

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.

stale[bot] avatar Jul 06 '24 01:07 stale[bot]