Я недавно обнаружил проблему с CLion. Каждый раз, когда я создаю новый проект, на консоли появляется следующая ошибка:
C:\Users\Diego\.CLion2018.1\system\cygwin_cmake\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=C:/cygwin64/bin/make.exe -DCMAKE_C_COMPILER=C:/cygwin64/bin/gcc.exe -DCMAKE_CXX_COMPILER=C:/cygwin64/bin/c++.exe -G "CodeBlocks - Unix Makefiles" "/cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador"
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: C:/cygwin64/bin/gcc.exe
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/build.make.tmp
CMake Error: : System Error: Permission denied
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/depend.make.tmp
CMake Error: : System Error: Permission denied
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/flags.make.tmp
CMake Error: : System Error: Permission denied
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/link.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error: Could not create /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/cmake_clean.cmake
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/DependInfo.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error: Cannot open file for write: /cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_da27f.dir/progress.make.tmp
CMake Error: : System Error: Permission denied
CMake Error at /cygdrive/c/Users/Diego/.CLion2018.1/system/cygwin_cmake/share/cmake-3.10.3/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/cygdrive/c/Users/Diego/Documents/Arquitectura de Computadores/Mini Tareas/Mini Tarea 6/compilador/cmake-build-debug/CMakeFiles/CMakeError.log".
Это происходит только с новыми проектами c ++, старые работают просто отлично. Я пытался удалить CLion, но это не сработало.