I would like to install LAPACK on my Windows.I am using CMake 3.21.0 GUI for my installation and the LAPACK version is 3.9.1.
I encountered the following error message:
CMake Error: Cannot open file for write: C:/Program Files/lapack/CMakeCache.txt.tmp50918
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:181 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: Could not open file for write in copy operation C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:193 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdFortran
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:189 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
The Fortran compiler identification is unknown
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:200 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: Could not open file for write in copy operation C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeFortranCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineFortranCompiler.cmake:303 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: Could not find cmake module file: C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeFortranCompiler.cmake
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:334 (file):
file problem creating directory: C:/Program
Files/lapack/CMakeFiles/3.21.0-rc2/CompilerIdC
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:59 (__determine_compiler_id_test)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:1090 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerId.cmake:81 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:122 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:3 (project)
The C compiler identification is unknown
CMake Error: Could not open file for write in copy operation C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCCompiler.cmake:230 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error: Could not find cmake module file: C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeCCompiler.cmake
CMake Error: Could not open file for write in copy operation C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeRCCompiler.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineRCCompiler.cmake:55 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/Platform/Windows-GNU.cmake:134 (enable_language)
C:/Program Files/CMake/share/cmake-3.21/Modules/Platform/Windows-GNU-Fortran.cmake:2 (__windows_compiler_gnu)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeFortranInformation.cmake:25 (include)
CMakeLists.txt:3 (project)
CMake Error: Could not find cmake module file: C:/Program Files/lapack/CMakeFiles/3.21.0-rc2/CMakeRCCompiler.cmake
Detecting Fortran compiler ABI info
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
Unknown extension ".F" for file
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeFortranCompilerABI.F
try_compile() works only for enabled languages. Currently these are:
C Fortran RC
See project() command to enable other languages.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:20 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:3 (project)
Detecting Fortran compiler ABI info - failed
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineCompilerABI.cmake:188 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:20 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:3 (project)
Check for working Fortran compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gfortran.exe
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:34 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeTmp/testFortranCompiler.f
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:39 (try_compile):
Unknown extension ".f" for file
C:/Program Files/lapack/CMakeFiles/CMakeTmp/testFortranCompiler.f
try_compile() works only for enabled languages. Currently these are:
C Fortran RC
See project() command to enable other languages.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
Check for working Fortran compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gfortran.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:47 (file):
file failed to open for writing (No such file or directory):
C:/Program Files/lapack/CMakeFiles/CMakeError.log
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestFortranCompiler.cmake:51 (message):
The Fortran compiler
"C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gfortran.exe"
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: C:/Program Files/lapack/CMakeCache.txt.tmp0c1bd
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. C:/Program Files/lapack/CMakeCache.txt
CMake Error: : System Error: Permission denied
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. C:/Program Files/lapack/CMakeCache.txt
CMake Error: : System Error: Permission denied
I followed the installation guide from here: https://icl.cs.utk.edu/lapack-for-windows/lapack/ (the instruction starts from Easy Windows Build part and I am using the Build Instructions to create LAPACK and LAPACKE 3.5.0 dlls for Windows with MinGW part. Looking for some insights on what is happening.
Thanks in advance!
Related
CMake Error at
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
(message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindPythonLibs.cmake:310
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
environments/g4py/CMakeLists.txt:10 (find_package)
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
Configuring vorbis 1.3.7
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Ogg (missing: OGG_LIBRARY OGG_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
cmake/FindOgg.cmake:73 (find_package_handle_standard_args)
CMakeLists.txt:65 (find_package)
I'm trying to cmake a c++ application and get the following error.
CMake Error at /home/prabhat/miniconda3/share/cmake/ZeroMQ/ZeroMQConfig.cmake:44 (include):
include could not find load file:
/home/prabhat/miniconda3/share/cmake/ZeroMQ/ZeroMQTargets.cmake
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/ignition-cmake0/cmake0/FindZeroMQ.cmake:62 (find_package)
/usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:65 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/ignition-transport4/ignition-transport4-config.cmake:107 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:197 (find_package)
CMakeLists.txt:3 (find_package)
and line 44 of cmake is
'''if(NOT TARGET libzmq AND NOT TARGET libzmq-static)
include("${CMAKE_CURRENT_LIST_DIR}/ZeroMQTargets.cmake")'''
Can anyone tell me how to fix this issue ?
Thank you
This is the error which I am facing with:
-- Building for: Visual Studio 15 2017
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CMakeDetermineSystem.cmake:174 (file):
file failed to open for writing (No such file or directory):
C:/Users/nEW u/Desktop/shogun_stable/shogun/build/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
CMakeLists.txt:27 (project)
CMake Error: Could not open file for write in copy operation C:/Users/nEW u/Desk top/shogun_stable/shogun/build/CMakeFiles/3.13.4/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CMakeDetermineSys tem.cmake:186 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:27 (project)
CMake Error at CMakeLists.txt:27 (project):
Failed to make directory:
C:/Users/nEW u/Desktop/shogun_stable/shogun/build/CMakeFiles/3.13.4
-- Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: C:/Users/nEW u/Desktop/shogun_stable/sh ogun/build/CMakeCache.txt.tmp
CMake Error: : System Error: No such file or directory
CMake Error: Unable to open cache file for save. C:/Users/nEW u/Desktop/shogun_s table/shogun/build/CMakeCache.txt
CMake Error: : System Error: No such file or directory
I'm trying to load a project into CLion (using Windows 10 and Cygwin). When CLion processes the CMakeLists.txt file, the following errors are generated
C:\Users\doobop\.CLion2017.2\system\cygwin_cmake\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /cygdrive/m/stream
CMake Error at /cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineSystem.cmake:180 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:12 (project)
-- The C compiler identification is GNU 5.4.0
CMake Error at /cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCCompiler.cmake:175 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:12 (project)
-- The CXX compiler identification is GNU 5.4.0
CMake Error at /cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCXXCompiler.cmake:170 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:12 (project)
CMake Error at /cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineRCCompiler.cmake:55 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
/cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-GNU.cmake:50 (enable_language)
/cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-GNU-C.cmake:2 (__cygwin_compiler_gnu)
/cygdrive/c/Users/doobop/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCInformation.cmake:48 (include)
CMakeLists.txt:12 (project)
What is at line 12?
project( SWP )
Why would the project assignment cause all these errors?