Hi,
I'm trying to use Cmake 3.2.2 to build with Cuda7 on Windows 8. I have
both Cuda 6.5 and Cuda 7.0 installed in these locations:

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.0

When I try these:

find_package(CUDA "7.0" REQUIRED)
find_package(CUDA 7.0 REQUIRED)
find_package(CUDA 7 REQUIRED)


(just shooting in the dark here to see if something will work)

I always get the error

CMake Error at C:/Program Files
(x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138
(message):
Could NOT find CUDA: Found unsuitable version "6.5", but required is at
least "7.0" (found C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5)
Call Stack (most recent call first):
C:/Program Files
(x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:372
(_FPHSA_FAILURE_MESSAGE)
C:/Program Files
(x86)/CMake/share/cmake-3.2/Modules/FindCUDA.cmake:939
(find_package_handle_standard_args)
CMakeLists.txt:122 (find_package)


Any ideas?

thanks,
wes
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to