View Issue Details

IDProjectCategoryView StatusLast Update
0002548Spring engineGeneralpublic2011-07-15 17:15
Reporterabma Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0002548: (master) cmake "CreateResourceCompileCommand" always uses gcc
Descriptionbut it should use the detected cmake-CXX var:

[ 21%] Generating icon.o
Tried `C:\MinGW32\bin\gcc.exe'
Using `gcc -E -xc -DRC_INVOKED -IC:/Spring/rts C:/Spring/rts/icon.rc'
Using popen to read preprocessor output
Der Befehl "gcc" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\MinGW32\bin\windres.exe: preprocessing failed.
make[3]: *** [rts/builds/default/icon.o] Error 1
make[2]: *** [rts/builds/default/CMakeFiles/engine-default.dir/all] Error 2
make[1]: *** [rts/builds/default/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

hoijui

2011-07-15 17:15

reporter   ~0007040

When i look at the code in rts/build/cmake/FindWindres.cmake,
i have no idea where this command would come from:
`gcc -E -xc -DRC_INVOKED -IC:/Spring/rts C:/Spring/rts/icon.rc'
as in: it would be using windres, not gcc.

Issue History

Date Modified Username Field Change
2011-07-10 03:28 abma New Issue
2011-07-10 03:28 abma Graphics Card => unknown
2011-07-15 17:15 hoijui Note Added: 0007040