[cmake-developers] [CMake 0014284]: cmake generates a non-working rsp file: c++.exe: error: CreateProcess: No such file or directory

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 10 08:48:55 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14284 
====================================================================== 
Reported By:                abma
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14284
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-10 08:48 EDT
Last Modified:              2013-07-10 08:48 EDT
====================================================================== 
Summary:                    cmake generates a non-working rsp file: c++.exe:
error: CreateProcess: No such file or directory
Description: 
when compiling spring rts on win32 with cmake and ninja (cmake.exe -G Ninja .)

g++ fails when trying to link spring.exe:


it compiles with "MinGW Makefiles".

when i run g++ without invoking ninja i get the same error too. 

Steps to Reproduce: 
http://springrts.com/wiki/Building_Spring_on_Windows#Compiling_with_MinGW.2BCMake

but use ninja.

Additional Information: 
D:\spring>ninja engine-legacy
[1/2] Running utility command for generateVersionFiles
Spring engine version: 94.1.1-693-g5717870 develop ()
[2/2] Linking CXX executable spring.exe
FAILED: cmd.exe /c cd . && D:\MinGW32\bin\c++.exe  -mwindows            -fopenmp
 -std=gnu++11 -march=i686 -msse -mfpmath=sse -mno-sse2 -mno
-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma
-mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-con
stant -frounding-math -mieee-fp -pipe -fno-strict-aliasing   -mthreads  -O2     
-DNDEBUG -g  -fopenmp -lgomp -Wl,--enable-auto-import -Wl,-
-large-address-aware @CMakeFiles/engine-legacy.rsp  -o spring.exe
-Wl,--out-implib,rts\builds\legacy\libspring.dll.a -Wl,--major-image-versi
on,0,--minor-image-version,0  && cd .
c++.exe: error: CreateProcess: No such file or directory
ninja: build stopped: subcommand failed.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-10 08:48 abma           New Issue                                    
2013-07-10 08:48 abma           File Added: engine-legacy.rsp                   

======================================================================




More information about the cmake-developers mailing list