[cmake-developers] [CMake 0015869]: g++ from MinGw check already failes

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 1 15:11:48 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15869 
====================================================================== 
Reported By:                Igor Mironchik
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15869
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2015-12-01 15:11 EST
Last Modified:              2015-12-01 15:11 EST
====================================================================== 
Summary:                    g++ from MinGw check already failes
Description: 
g++ compiler from MinGw check already failes. MinGw version is 2013072200, just
downloaded

Steps to Reproduce: 
Clone GoogleTest repository.

Run cmake -G "MinGW Makefiles"

Additional Information: 
d:\work\googletest>cmake -G "MinGW Makefiles"
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/CMakeTestCXX
Compiler.cmake:54 (message):
  The C++ compiler "C:/MinGW/bin/g++.exe" is not able to compile a simple
  test program.

  It fails with the following output:

   Change Dir: D:/work/googletest/CMakeFiles/CMakeTmp



  Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_3b719/fast"

  C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_3b719.dir\build.make
  CMakeFiles/cmTC_3b719.dir/build

  mingw32-make.exe[1]: Entering directory
  'D:/work/googletest/CMakeFiles/CMakeTmp'

  Building CXX object CMakeFiles/cmTC_3b719.dir/testCXXCompiler.cxx.obj

  C:\MinGW\bin\g++.exe -o CMakeFiles\cmTC_3b719.dir\testCXXCompiler.cxx.obj
  -c D:\work\googletest\CMakeFiles\CMakeTmp\testCXXCompiler.cxx

  g++.exe: error: CreateProcess: No such file or directory

  CMakeFiles\cmTC_3b719.dir\build.make:64: recipe for target
  'CMakeFiles/cmTC_3b719.dir/testCXXCompiler.cxx.obj' failed

  mingw32-make.exe[1]: ***
  [CMakeFiles/cmTC_3b719.dir/testCXXCompiler.cxx.obj] Error 1

  mingw32-make.exe[1]: Leaving directory
  'D:/work/googletest/CMakeFiles/CMakeTmp'

  Makefile:125: recipe for target 'cmTC_3b719/fast' failed

  mingw32-make.exe: *** [cmTC_3b719/fast] Error 2





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


-- Configuring incomplete, errors occurred!
See also "D:/work/googletest/CMakeFiles/CMakeOutput.log".
See also "D:/work/googletest/CMakeFiles/CMakeError.log".

d:\work\googletest>g++.exe
g++.exe: fatal error: no input files
compilation terminated.

d:\work\googletest>
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-12-01 15:11 Igor Mironchik New Issue                                    
======================================================================



More information about the cmake-developers mailing list