CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CUDA: Found unsuitable version "7.5", but required is exact
version "9.1" (found /usr)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindCUDA.cmake:949 (find_package_handle_standard_args)
/usr/local/zed/zed-config.cmake:42 (find_package)
zed_wrapper/CMakeLists.txt:22 (find_package)
I am getting this issue when attempting to install the ZED wrapper for a bit now...
However, I have installed CUDA 9.1 and don't know why it's saying I'm using 7.5...
Managed to install the ZED sdk with CUDA 9.1 alright so I am not sure why this is an issue...
Any idea how to resolve this?
If you have installed CUDA 7.5 before the problem is with the cache of CMake.
To be sure to clean it you can delete the folders build and devel in your catkin workspace and then run a new catkin_make command
Hmm.. that does not seem to be the issue as I have tried deleting them and even making a new workspace. I found online that it could be my OpenCV is targetting 7.5? But going through the usr/local files I only see Cuda 8.0 and 9.1 but no mention of 7.5
What is the reply to the command
$ nvcc -V ?
Removal of build and devel folders worked for me.
@vonunwerth tnx, just cmake .. it works for me
Most helpful comment
If you have installed CUDA 7.5 before the problem is with the cache of CMake.
To be sure to clean it you can delete the folders
buildanddevelin your catkin workspace and then run a newcatkin_makecommand