Устанавливал самое свежее с онлайн-инстайлера проекта qt:
Qt Creator 4.2
Qt 5.7.1
cmake 3.5.1 из оф-репов
Создаю проект cmake в крео и сразу ловлю такую ошибку:
/home/flixis/Project/Qt/Test_Project/CMakeLists.txt:3: ошибка: No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
ошибка: *** процесс cmake завершился с кодом 1.
Выполнение "/usr/bin/cmake /home/flixis/Project/Qt/Test_Project '-GCodeBlocks - Unix Makefiles' -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ -DCMAKE_C_COMPILER:STRING= -DCMAKE_PREFIX_PATH:STRING=/home/flixis/Programs/Qt/5.7/gcc_64 -DQT_QMAKE_EXECUTABLE:STRING=/home/flixis/Programs/Qt/5.7/gcc_64/bin/qmake" в /tmp/qtc-cmake-vZwL5p.
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 5.4.0
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- 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 "/tmp/qtc-cmake-vZwL5p/CMakeFiles/CMakeOutput.log".
See also "/tmp/qtc-cmake-vZwL5p/CMakeFiles/CMakeError.log".
*** процесс cmake завершился с кодом 1.
ошибка: *** процесс cmake завершился с кодом 1.
Выполнение "/usr/bin/cmake /home/flixis/Project/Qt/Test_Project '-GCodeBlocks - Unix Makefiles' -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ -DCMAKE_C_COMPILER:STRING= -DCMAKE_PREFIX_PATH:STRING=/home/flixis/Programs/Qt/5.7/gcc_64 -DQT_QMAKE_EXECUTABLE:STRING=/home/flixis/Programs/Qt/5.7/gcc_64/bin/qmake" в /tmp/qtc-cmake-vZwL5p.
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 5.4.0
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- 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 "/tmp/qtc-cmake-vZwL5p/CMakeFiles/CMakeOutput.log".
See also "/tmp/qtc-cmake-vZwL5p/CMakeFiles/CMakeError.log".
*** процесс cmake завершился с кодом 1.
Поставил тот же qt, cmake стоит точно такой же. Но проблемы там нет. Видимо, виноват новый 18.1