View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016079CMakeCMakepublic2016-04-24 06:392016-06-10 14:21
Reporterrtsisyk 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindows Subsystem for LinuxOSUbuntuOS Version14.04.03
Product VersionCMake 3.5.2 
Target VersionFixed in Version 
Summary0016079: Support for Windows Subsystem for Linux
DescriptionUbuntu 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 Reproduce1. 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 .
TagsNo tags attached.
Attached Filespng file icon 7.png [^] (21,809 bytes) 2016-04-24 06:39

 Relationships

  Notes
(0040949)
Rich Turner (reporter)
2016-05-01 16:04

This issue was due to a bug in WSL. Fix is inbound. Report, discussion & repro's over here: https://github.com/Microsoft/BashOnWindows/issues/272 [^]
(0041002)
Brad King (manager)
2016-05-02 09:11

Re 0016079:0040949: Thanks. I'll mark this as resolved here for now. Please follow up again here if it turns out CMake needs some changes.
(0041181)
Kitware Robot (administrator)
2016-06-10 14:21

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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
2016-04-25 08:54 Brad King Severity minor => feature
2016-04-25 08:54 Brad King Summary Unknown extension ".c" for file => Support for Windows Subsystem for Linux
2016-05-01 16:04 Rich Turner Note Added: 0040949
2016-05-02 09:11 Brad King Note Added: 0041002
2016-05-02 09:11 Brad King Status new => resolved
2016-05-02 09:11 Brad King Resolution open => no change required
2016-06-10 14:21 Kitware Robot Note Added: 0041181
2016-06-10 14:21 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team