CLion no longer works
Hello, after the latest update CLion has problems with I have no idea what.
And I emphasize this has not happened before
Here's Debug output:
"D:\CLion\CLion 2017.2.3\bin\cmake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" D:\CLion\first
-- The C compiler identification is GNU 6.3.0
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:460 (file):
file STRINGS file
"D:/CLion/first/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/a.exe"
cannot be read.
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:466 (list):
list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:528 (file):
file failed to open for reading (Invalid argument):
D:/CLion/first/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/a.exe
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:530 (string):
string begin index: 1 is out of range 0 - 0
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:538 (math):
math cannot parse the expression: " * 16 + ": syntax error, unexpected
exp_TIMES, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
(2)
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
CMake Error at D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:540 (file):
file failed to open for reading (Invalid argument):
D:/CLion/first/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/a.exe
Call Stack (most recent call first):
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCompilerId.cmake:36 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
D:/CLion/CLion 2017.2.3/bin/cmake/share/cmake-3.8/Modules/CMakeDetermineCXXCompiler.cmake:104 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:2 (project)
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "D:/CLion/first/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "D:/CLion/first/cmake-build-debug/CMakeFiles/CMakeError.log".
[Previous CMake output restored: 12/7/2017 10:51 PM]
Please sign in to leave a comment.
Hi! The log file looks very similar to this comment in our tracker. Could you please temporarily disable your antivirus (or add the project folder as an exception in it) and try to reload CMake project (on the main menu, choose the Tools | CMake | Reset Cache and Reload Project action)? Does the error appear when the antivirus is disabled?
Hello!
Thank you for the feedback!
I've already figured this out by accident.))