Как использовать команду cmake в исходном коде cmake - PullRequest
0 голосов
/ 05 февраля 2019

Я пытаюсь получить двоичные файлы модулей cmake, но я не могу сделать cmake ни в одной из папок, даже если доступен файл cmakeLists.txt.Это ошибка, которую я получаю.

tusharecmc@tusharecmc-Aspire-E5-575:~/cmake3.10.2/src/cmake-3.10.2/Modules/FortranCInterface/Verify$ cmake .
-- The C compiler identification is GNU 7.3.0
-- The Fortran compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_Fortran_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
  path to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/tusharecmc/cmake3.10.2/src/cmake-3.10.2/Modules/FortranCInterface/Verify/CMakeFiles/CMakeOutput.log".
See also "/home/tusharecmc/cmake3.10.2/src/cmake-3.10.2/Modules/FortranCInterface/Verify/CMakeFiles/CMakeError.log".`
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...