Yet another CMake 3.9 CUDA issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Yet another CMake 3.9 CUDA issue

Mueller-Roemer, Johannes Sebastian

Hi,

 

after solving a different issue (lack of .NET 3.5 Framework causing the CUDA MSBuild component to not work, discussion thread “Visual Studio with CUDA does not work in 3.9”) and getting good results (parallel CUDA builds, yay!), I now wanted to try CMake 3.9 on a different machine, but no success L

 

The machine is running Windows Server 2012 R2 with Visual Studio 2015 (2012 is installed as well). The CUDA SDK is installed in versions 7.5 and 8.0. .Net 3.5 is installed as well. However, the following error is reported:

 

CMake Error at E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake:247 (message):

  No CUDA toolset found.

Call Stack (most recent call first):

  E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake:31 (CMAKE_DETERMINE_COMPILER_ID_BUILD)

  E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCUDACompiler.cmake:73 (CMAKE_DETERMINE_COMPILER_ID)

  CMakeLists.txt:2 (project)

 

 

-- Configuring incomplete, errors occurred!

See also "C:/Users/buildbot/Desktop/test/build/CMakeFiles/CMakeOutput.log".

 

The CMakeOutput.log is also not very informative and only contains:

The system is: Windows - 6.3.9600 - AMD64

 

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

[hidden email] | 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
Reply | Threaded
Open this post in threaded view
|

Re: Yet another CMake 3.9 CUDA issue

Mueller-Roemer, Johannes Sebastian

I attached the –system-information output for the build. I was not able to glean anything useful from it though, as CMakeError.log is empty, as previously mentioned.

 

Fraunhofer-Institut für Graphische Datenverarbeitung IGD

Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany

Tel +49 6151 155-606  |  Fax +49 6151 155-139

[hidden email] | www.igd.fraunhofer.de

 

From: CMake [mailto:[hidden email]] On Behalf Of Mueller-Roemer, Johannes Sebastian
Sent: Monday, August 7, 2017 09:28
To: [hidden email]
Subject: [CMake] Yet another CMake 3.9 CUDA issue

 

Hi,

 

after solving a different issue (lack of .NET 3.5 Framework causing the CUDA MSBuild component to not work, discussion thread “Visual Studio with CUDA does not work in 3.9”) and getting good results (parallel CUDA builds, yay!), I now wanted to try CMake 3.9 on a different machine, but no success L

 

The machine is running Windows Server 2012 R2 with Visual Studio 2015 (2012 is installed as well). The CUDA SDK is installed in versions 7.5 and 8.0. .Net 3.5 is installed as well. However, the following error is reported:

 

CMake Error at E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake:247 (message):

  No CUDA toolset found.

Call Stack (most recent call first):

  E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake:31 (CMAKE_DETERMINE_COMPILER_ID_BUILD)

  E:/BuildTools/cmake/share/cmake-3.9/Modules/CMakeDetermineCUDACompiler.cmake:73 (CMAKE_DETERMINE_COMPILER_ID)

  CMakeLists.txt:2 (project)

 

 

-- Configuring incomplete, errors occurred!

See also "C:/Users/buildbot/Desktop/test/build/CMakeFiles/CMakeOutput.log".

 

The CMakeOutput.log is also not very informative and only contains:

The system is: Windows - 6.3.9600 - AMD64

 

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

[hidden email] | www.igdfraunhofer.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

sysinfo.txt (65K) Download Attachment