Closed denis-shienkov closed 3 years ago
Sorry, windres functionality is not relevant. .rc file must follow Microsoft Resource Script rules. Try it with MS Resource Compiler to see what is incorrect. OW tools are not replacement for Linux tools. OW uses Microsoft specifications for Windows related tools, not something from Linux/GNU.
I check OW Resource Compiler and it generate proper resource file, exactly same as Microsoft Resource Compiler.
There is a legitimate crash here even if the rc file is valid, because it expects to find & open an executable (to bind the resource file into? - I'm not a Windows dev kinda guy).
$ wrc test.rc
Error! E159: Can't find file "test.exe".
free(): double free detected in tcache 2
Aborted (core dumped)
Running wrc test.rc -r
to only generate a res file completes successfully, so I assume the rc file itself is valid.
Hi all.
I try to compile the following simple resource source file:
using the following command:
But, seems that the resource compiler gets crashed, because it does nothing.
PS: I tested this resource file using the MinGW
windres
utility, and it does work as expected: