View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002548 | Spring engine | General | public | 2011-07-10 03:28 | 2011-07-15 17:15 | ||||||||
Reporter | abma | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002548: (master) cmake "CreateResourceCompileCommand" always uses gcc | ||||||||||||
Description | but 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 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Checked infolog.txt for Errors | |||||||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2011-07-15 17:15 |
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. |