Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake error #1508

Open
ChanghaoZheng opened this issue Apr 29, 2024 · 2 comments
Open

cmake error #1508

ChanghaoZheng opened this issue Apr 29, 2024 · 2 comments
Labels
wontfix This will not be worked on

Comments

@ChanghaoZheng
Copy link

ChanghaoZheng commented Apr 29, 2024

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
@wang-xinyu
Copy link
Owner

CUDA is required.

Copy link

stale bot commented Jul 6, 2024

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 stale bot added the wontfix This will not be worked on label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants