https://bugs.kde.org/show_bug.cgi?id=401285
Bug ID: 401285
Summary: Resource compilation issue using MinGW
Product: trojita
Version: git
Platform: MS Windows
OS: MS Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Desktop GUI
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I faced Win32 resource compilation issue while building Trojita git-version.
Used toolchanin:
Qt 5.9.7 LTS
MinGW32 5.3.0 32-bit x86 compiler
CMake version 3.12.4
STEPS TO REPRODUCE
1. Try to build Trojita using toolchain listed above
OBSERVED RESULT
windres.exe resource compilation error:
Usage: D:\Qt\Tools\mingw530_32\bin\windres.exe [option(s)] [input-file]
[output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
--preprocessor-arg=<arg> Additional preprocessor argument
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-c --codepage=<codepage> Specify default codepage
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
D:\Qt\Tools\mingw530_32\bin\windres.exe: supported targets: pe-i386 pei-i386
elf32-i386 elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary
ihex
CMakeFiles\trojita.dir\build.make:88: recipe for target
'CMakeFiles/trojita.dir/src/trojita_win32.rc.obj' failed
CMakeFiles\Makefile2:1087: recipe for target 'CMakeFiles/trojita.dir/all'
failed
Makefile:139: recipe for target 'all' failed
mingw32-make.exe[2]: *** [CMakeFiles/trojita.dir/src/trojita_win32.rc.obj]
Error 1
mingw32-make.exe[1]: *** [CMakeFiles/trojita.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Windows: Microsoft Windows [Version 6.1.7601] (Windows 7)
MacOS:
Linux/KDE Plasma: Not applicable
(available in About System)
KDE Plasma Version: Not applicable
KDE Frameworks Version: Not applicable
Qt Version: 5.9.7
ADDITIONAL INFORMATION
I'm really stucked, alas!
--
You are receiving this mail because:
You are watching all bug changes.