NVIDIA / NVIDIA/AMGX

CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES empty, even though CUDA Toolkit installed

Open
#195 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cuda
Stars
692
Forks
197
PR merge metrics
No merged PRs in 30d

Description

My sysadmins assure me that CUDA Toolkit is installed (and the AMGX examples seen to work when I comment out the following lines (only examples/CMakeLists.txt on HEAD; eigen_examples/CMakeLists.txt as well on v2.3.0):

-- Checking if arch 60 is supported...
CMake Error at examples/CMakeLists.txt:29 (include_directories):
  include_directories given empty-string as include directory.


CMake Error at eigen_examples/CMakeLists.txt:29 (include_directories):
  include_directories given empty-string as include directory.


-- Configuring incomplete, errors occurred!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading examples/CMakeLists.txt around line 29 and rerun the CMake configuration that reports the empty include directory; compare the CUDA-related variables used there with the installed toolkit setup. Done means the examples configure successfully without commenting out include_directories, including the eigen_examples path where applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.