Zed-ros-wrapper: Could NOT find CUDA: Found unsuitable version "7.5", but required is exact version "9.1" (found /usr)

Created on 4 Jul 2018  路  5Comments  路  Source: stereolabs/zed-ros-wrapper

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?

help wanted

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 build and devel in your catkin workspace and then run a new catkin_make command

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahsteven picture ahsteven  路  7Comments

pavloblindnology picture pavloblindnology  路  5Comments

NeilNie picture NeilNie  路  6Comments

ana-GT picture ana-GT  路  5Comments

jaronski picture jaronski  路  5Comments