The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=16079 ====================================================================== Reported By: rtsisyk Assigned To: ====================================================================== Project: CMake Issue ID: 16079 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2016-04-24 06:39 EDT Last Modified: 2016-04-24 06:39 EDT ====================================================================== Summary: Unknown extension ".c" for file Description: Ubuntu 14.04 inside Windows 10 LXSS.
``` -- The C compiler identification is unknown CMake Error at Modules/CMakeDetermineCCompiler.cmake:181 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:19 (project) -- The CXX compiler identification is unknown CMake Error at Modules/CMakeDetermineCXXCompiler.cmake:179 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): CMakeLists.txt:19 (project) -- Check for working C compiler: /usr/bin/gcc CMake Error at Modules/CMakeTestCCompiler.cmake:47 (try_compile): Unknown extension ".c" for file /home/roman/cmake-3.5.2/CMakeFiles/CMakeTmp/testCCompiler.c try_compile() works only for enabled languages. Currently these are: C CXX See project() command to enable other languages. Call Stack (most recent call first): CMakeLists.txt:19 (project) -- Check for working C compiler: /usr/bin/gcc -- broken CMake Error at Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/gcc" 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:19 (project) -- Configuring incomplete, errors occurred! See also "/home/roman/cmake-3.5.2/CMakeFiles/CMakeOutput.log". See also "/home/roman/cmake-3.5.2/CMakeFiles/CMakeError.log". --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- ``` Steps to Reproduce: 1. Install Windows Subsystem for Linux on Windows 10 http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ 2. Install cmake (any version) apt-get install build-essential cmake 3. Try to build a simple C or CXX project cmake . ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-04-24 06:39 rtsisyk New Issue 2016-04-24 06:39 rtsisyk File Added: 7.png ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers