MantisBT - CMake
View Issue Details
0014284CMakeCMakepublic2013-07-10 08:482014-06-02 08:37
abma 
Peter Kuemmel 
normalblockalways
closedunable to reproduce 
win32WindowsXP
CMake 2.8.11.2 
CMake 3.0 
0014284: Ninja: cmake generates a non-working rsp file: c++.exe: error: CreateProcess: No such file or directory
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.
http://springrts.com/wiki/Building_Spring_on_Windows#Compiling_with_MinGW.2BCMake [^]

but use ninja.
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.
No tags attached.
? engine-legacy.rsp (45,303) 2013-07-10 08:48
https://public.kitware.com/Bug/file/4816/engine-legacy.rsp
Issue History
2013-07-10 08:48abmaNew Issue
2013-07-10 08:48abmaFile Added: engine-legacy.rsp
2013-07-10 09:13Brad KingSummarycmake generates a non-working rsp file: c++.exe: error: CreateProcess: No such file or directory => Ninja: cmake generates a non-working rsp file: c++.exe: error: CreateProcess: No such file or directory
2013-07-10 09:13Brad KingAssigned To => Peter Kuemmel
2013-07-10 09:13Brad KingStatusnew => assigned
2013-10-28 04:34Peter KuemmelNote Added: 0034268
2013-10-28 04:34Peter KuemmelStatusassigned => feedback
2013-11-25 03:56Peter KuemmelStatusfeedback => resolved
2013-11-25 03:56Peter KuemmelFixed in Version => CMake 3.0
2013-11-25 03:56Peter KuemmelResolutionopen => unable to reproduce
2014-06-02 08:37Robert MaynardNote Added: 0036023
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0034268)
Peter Kuemmel   
2013-10-28 04:34   
Could not reproduce with pre 3.0.
(0036023)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.