This is not a stdlib-specific problem, but others may encounter the same obstacle. When I try to build stdlib using cmake on Windows, I get the following problem. How do I tell cmake to use gfortran and specify its location? I see discussion of this problemherebut don't see a resolut...
SET(CMAKE_Fortran_PLATFORM_ID "Windows") SET(CMAKE_Fortran_COMPILER_ID "Intel") ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio") IF(NOT CMAKE_Fortran_COMPILER_ID_RUN) SET(CMAKE_Fortran_COMPILER_ID_RUN 1) # Each entry in this list is a set of extra flags to try # adding to the...
PRINT *, 'INFO:platform[Windows]'#elif defined(__FreeBSD__) || defined(__FreeBSD)PRINT *, 'INFO:platform[FreeBSD]'#elif defined(__NetBSD__) || defined(__NetBSD)PRINT *, 'INFO:platform[NetBSD]'#elif defined(__OpenBSD__) || defined(__OPENBSD)PRINT *, 'INFO:platform[OpenBSD]'...
set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS_FIRST # Get verbose output to help distinguish compilers. "-v" ) set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" # Intel on windows does not preprocess by default. "-fpp" ) endif() # B...
(x86)/Intel/oneAPI/compiler/2021.4.0/windows/bin/intel64/ifort.exe - broken CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:54 (message): The Fortran compiler "C:/Program Files (x86)/Intel/oneAPI/compiler/2021.4.0/windows/...
After running cmake, go to the project properties, then 1: Under Fortran,Libraries select QuickWin for the runtime library, click apply 2: Under Linker,System select Windows for the SubSystem, click apply -sanjay Translate 0 Kudos Copy link Reply ...
FindwxWindows.cmake FortranCInterface.cmake GNUInstallDirs.cmake GenerateExportHeader.cmake GetPrerequisites.cmake GoogleTest.cmake GoogleTestAddTests.cmake ITKCompatibility.cmake InstallRequiredSystemLibraries.cmake KDE3Macros.cmake MacOSXBundleInfo.plist.in MacOSXFrameworkInfo.plist.in Mac...
FindwxWindows.cmake FortranCInterface.cmake GNUInstallDirs.cmake GenerateExportHeader.cmake GetPrerequisites.cmake GoogleTest.cmake GoogleTestAddTests.cmake ITKCompatibility.cmake InstallRequiredSystemLibraries.cmake KDE3Macros.cmake MacOSXBundleInfo.plist.in MacOSXFrameworkInfo.plist.in Macr...
set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS_FIRST # Get verbose output to help distinguish compilers. "-v" ) set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" # Intel on windows does not preprocess by default. "-fpp" ) endif() # ...
set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS_FIRST # Get verbose output to help distinguish compilers. "-v" ) set(CMAKE_Fortran_COMPILER_ID_TEST_FLAGS # Try compiling to an object file only. "-c" # Intel on windows does not preprocess by default. "-fpp" ) endif() #...