2025-07-18 02:09 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002548Spring engineGeneralpublic2011-07-15 17:15
Reporterabma 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
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
Attached Files

-Relationships
+Relationships

-Notes

~0007040

hoijui (reporter)

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.
+Notes

-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
+Issue History