# find / -name CUDAConfig.cmake -print
# find / -name cuda-config.cmake -print
#
//No luck
My thinking goes like:
The compliant is:
"Could not find module FindCUDA.cmake or a configuration file for package CUDA."
And the solution should be:
"Adjust CMAKE_MODULE_PATH to find FindCUDA.cmake"
but
$ ls -l $CMAKE_MODULE_PATH | grep FindCUDA
-rw-r--r-- 1 letharion letharion 50242 Sep 8 17:54 FindCUDA.cmake
The error message seems to indicate that should be enough. Interstingly, googling for CUDAConfig.cmake as the exact term returns my question, but nothing more.
Main Topics
Browse All Topics





by: sheshendrarathiPosted on 2009-09-10 at 03:20:34ID: 25298764
What I can see from your logs is that the make utility is not able to find following files.
1. CUDAConfig.cmake
2. cuda-config.cmake
Please find this files on your system and set the path for CMAKE_MODULE_PATH.
For this execute following commands
1. "export CUDA_DIR=/home/letharion/F
2. "find / -name CUDAConfig.cmake -print"
3. Copy the path for this file if found
4. "export CMAKE_MODULE_PATH=<The path copied in step 2>"
NOTE : There is no space before or after '='.
5. Try again, if success stop
6. If not "find / -name cuda-config.cmake -print"
7. Copy the path for this file if found
8. "export CMAKE_MODULE_PATH=<The path copied in step 6>"
9. try to Cmake again.