[CMake] Error: no cmake_fortran_compiler could be found.

Konstantin Tokarev annulen at yandex.ru
Fri Sep 2 08:34:12 EDT 2016



01.09.2016, 23:22, "ning.an at ghiocel-tech.com" <ning.an at ghiocel-tech.com>:
> Dear There,
>
> This is first time to use CMAKE. I got the error that says "no cmake_fortran_compiler could be found."
> I use it on Windows 8.1, which have installed Visual Studio Community 2015, Intel FORTRAN Composer XE 2013, and CUDA 7.0.
>
>     The Fortran compiler identification is unknown
>     CMake Error at CMakeLists.txt:9 (project):
>     No CMAKE_Fortran_COMPILER could be found.
>
> When I run CMake GUI to configure it. I guess that CMake may need environment variable to tell the Fortran compiler, but I don't know what this enviroment variable should be.

FC, how else can it be named :)

>
> Please give me a hand to solve it.
>
> Thank you very much.
>
> Ning An
>
> ,--
>
> 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


-- 
Regards,
Konstantin


More information about the CMake mailing list