CLion で「CMake テストがエラーで失敗しました」

CLion で「CMake テストがエラーで失敗しました」

ツールチェーンに関係なく、CLion でプロジェクトをビルドしようとするたびに、次のエラーが表示されます。

ここに画像の説明を入力してください

    -- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gcc.exe
-- Check for working C compiler: C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gcc.exe -- broken
CMake Error at C:/Program Files/JetBrains/CLion 2019.2.2/bin/cmake/win/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gcc.exe"

    is not able to compile a simple test program.

   It fails with the following output:

    Change Dir: C:/Users/Víctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/bin/mingw32-make.exe cmTC_60a1a/fast 
    C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/bin/mingw32-make.exe -f CMakeFiles\cmTC_60a1a.dir\build.make CMakeFiles/cmTC_60a1a.dir/build
    mingw32-make.exe[1]: Entering directory 'C:/Users/V�ctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_60a1a.dir/testCCompiler.c.obj
    C:\PROGRA~2\MINGW-~1\I686-8~1.0-P\mingw32\bin\gcc.exe    -o CMakeFiles\cmTC_60a1a.dir\testCCompiler.c.obj   -c C:\Users\Víctor\AppData\Local\Temp\cmake_check_environment\_build17193828646428762434\CMakeFiles\CMakeTmp\testCCompiler.c
    gcc.exe: error: C:\Users\Víctor\AppData\Local\Temp\cmake_check_environment\_build17193828646428762434\CMakeFiles\CMakeTmp\testCCompiler.c: No such file or directory
    gcc.exe: fatal error: no input files
    compilation terminated.
    mingw32-make.exe[1]: *** [CMakeFiles\cmTC_60a1a.dir\build.make:65: CMakeFiles/cmTC_60a1a.dir/testCCompiler.c.obj] Error 1
    mingw32-make.exe[1]: Leaving directory 'C:/Users/V�ctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeTmp'
    mingw32-make.exe: *** [Makefile:120: cmTC_60a1a/fast] Error 2




  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/Víctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Víctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeError.log".

Error code: 1

パス (í) に非 ASCII 文字が含まれていることが原因だと思いますが、よくわかりません。パスが"C:/Users/Víctor/AppData/Local/Temp/cmake_check_environment/_build17193828646428762434/CMakeFiles/CMakeError.log"コンピューターに存在しないため、エラー ログを取得できません。

関連情報