cmake-gui我有一个项目,已成功配置并生成mingw。
但是当我想配置或构建它(cmake -G "Visual Studio 15 2017"
)时Visual Studio 2017 Enterprise,Intel Parallel Studio 2017 (Visual Fortran Compiler)我收到以下错误:
The Fortran compiler identification is unknown
CMake Error at CMakeLists.txt:17 (PROJECT):
No CMAKE_Fortran_COMPILER could be found.
Run Code Online (Sandbox Code Playgroud)
所以我该怎么做?
编辑:
当我使用时cmake -G "Visual Studio 15 2017"我得到:
-- The Fortran compiler identification is unknown
CMake Error at CMakeLists.txt:17 (PROJECT):
No CMAKE_Fortran_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "F:/FreshElmer - Copy (3)/elmerfem/CMakeFiles/CMakeOutput.log".
See …Run Code Online (Sandbox Code Playgroud)