Error: No CMAKE_Fortran_COMPILER could be found. How can I fix this?
Hi,
I have followed to following instructions,
Open the Cmake GUI
Select source code directory
C:\Users\username\uhd-release_003_009_002\
Select binary build directory
C:\Users\username\uhd-release_003_009_002\build
Check the Advanced checkbox
Click Configure
Set Visual Studio 12 2013 Win64 as the compiler,
and I get the following error message,
The C compiler identification is MSVC 18.0.31101.0
The Fortran compiler identification is unknown
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:13 (project):
No CMAKE_Fortran_COMPILER could be found.
Configuring incomplete, errors occurred!
See also "C:/Users/slichy/Downloads/uhd-3.10.0.0.tar/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/slichy/Downloads/uhd-3.10.0.0.tar/build/CMakeFiles/CMakeError.log".
It states that CMake Fortran Compiler cannot be found. I have tried to install it from online but I cannot see a package for me to install. Is this supposed to be done by the cmake installer, and if so/not how can I fix this?
Thanks