Hi Unfortunately you are going to need to provide more information to help track down the issue. We currently have machines that verify 2015/8.0 and 2013/7.5 properly work ( https://open.cdash.org/index.php?project=CMake&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=CUDA )
Can you please provide run from the build directory cmake --system-information <file> and send the results? On Fri, Jun 23, 2017 at 9:11 AM, Mueller-Roemer, Johannes Sebastian <johannes.sebastian.mueller-roe...@igd.fraunhofer.de> wrote: > Hi Robert, > > yes, according to the Windows installed program list, I have "NVIDIA CUDA > Visual Studio Integration 8.0" installed. I can also create CUDA projects via > "New project" and have an Nsight menu entry. > > Regards > Johannes Mueller-Roemer > > Fraunhofer-Institut für Graphische Datenverarbeitung IGD > Fraunhoferstr. 5 | 64283 Darmstadt | Germany > Tel +49 6151 155-606 | Fax +49 6151 155-139 > johannes.mueller-roe...@igd.fraunhofer.de | www.igd.fraunhofer.de > > > -----Original Message----- > From: Robert Maynard [mailto:robert.mayn...@kitware.com] > Sent: Friday, June 23, 2017 14:52 > To: Mueller-Roemer, Johannes Sebastian > <johannes.sebastian.mueller-roe...@igd.fraunhofer.de> > Cc: CMake MailingList <cmake@cmake.org> > Subject: Re: [CMake] Visual Studio with CUDA does not work in 3.9 > > Hi, > > Do you have the NVIDIA CUDA Visual Studio Integration tools installed? > This is needed for support when using the Visual Studio Generator(s). > Otherwise you can still use ninja or the nmake generators. > > On Fri, Jun 23, 2017 at 7:06 AM, Mueller-Roemer, Johannes Sebastian > <johannes.sebastian.mueller-roe...@igd.fraunhofer.de> wrote: >> The absolute minimum example >> >> >> >> cmake_minimum_required(VERSION 3.9 FATAL_ERROR) >> >> project(cuda-test LANGUAGES C CXX CUDA) >> >> add_executable(cuda-test main.cu) >> >> >> >> Fails to configure with the error: >> >> CMake Error at CMakeLists.txt:2 (project): >> >> No CMAKE_CUDA_COMPILER could be found. >> >> >> >> Am I missing something, or is the support mentioned in the change list >> simply not true? >> >> >> >> Fraunhofer-Institut für Graphische Datenverarbeitung IGD >> >> Fraunhoferstr. 5 | 64283 Darmstadt | Germany >> >> Tel +49 6151 155-606 | Fax +49 6151 155-139 >> >> johannes.mueller-roe...@igd.fraunhofer.de | www.igd.fraunhofer.de >> >> >> >> >> -- >> >> 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 -- 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