*******************************************************Ĭ:\fortran\public_domain\github\functional-fortran>type c:\fortran\public_domain\github\functional-fortran\CMakeLists.txtĬmake_minimum_required(VERSION 2. After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the C compiler. The compilation on Linux posses no problems, but Intel Fortran compiler on Windows seems to cause great complications for CMake. I don't know why it is looking for Microsoft Visual Studio Hello, I’m trying to build my C/C++/Fortran project both on Ubuntu and Windows10. The evaluation period for this product has ended. The license for Visual Studio has expired. Microsoft Visual Studio 2017 Version 3.2000.Ĭopyright (C) Microsoft Corp. The output of printing a log file with c:\fortran\public_domain\github\functional-fortran\build>type "C:\fortran\public_domain\github\functional-fortran\build\CMakeFiles\CMakeError.log"Ĭompiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" failed. See also "C:/fortran/public_domain/github/functional-fortran/build/CMakeFiles/CMakeError.log". See also "C:/fortran/public_domain/github/functional-fortran/build/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! No CMAKE_Fortran_COMPILER could be found. The Fortran compiler identification is unknownĬMake Error at CMakeLists.txt:4 (enable_language): Check for working CXX compiler: C:/programs/Microsoft_Visual_Studio/2017/VC/Tools/MSVC/8/bin/Hostx86/x86/cl.exe - works ![]() About Products For Teams Stack Overflow Public questions & answers Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers. Check for working CXX compiler: C:/programs/Microsoft_Visual_Studio/2017/VC/Tools/MSVC/8/bin/Hostx86/x86/cl.exe The reason why I run cMake -G is to get rid of this. Check for working C compiler: C:/programs/Microsoft_Visual_Studio/2017/VC/Tools/MSVC/8/bin/Hostx86/x86/cl.exe - works Check for working C compiler: C:/programs/Microsoft_Visual_Studio/2017/VC/Tools/MSVC/8/bin/Hostx86/x86/cl.exe The CXX compiler identification is MSVC 8.1 The C compiler identification is MSVC 8.1 ![]() Those do not need any special environment. Dont just launch it from a short-cut unless youre using the 'Visual Studio ' generators. : type 'cmake-gui' in the cmd prompt that has your stuff set up in it. Run cmake-gui FROM the target environment, just like you run cmake. What should I do?Ĭ:\fortran\public_domain\github\functional-fortran\build>cmake. The answer to your question from cmake mailing list. The location of my installed gfortran is c:\equation\bin\gfortran.exe. I installed cmake version 3.12.1 on Windows 10 and tried to use it to compile the functional-fortran project and get a message "No CMAKE_Fortran_COMPILER could be found". I am new to using Cmake, which is a build tool often used in github projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |