[CMake] Problems with MinGW and unicode *.rc files

NoRulez norulez at me.com
Sat May 5 11:48:10 EDT 2012


Hello,

in my .rc file I use special characters like 'ü', 'ä', 'ö' and ß.
When I try to compile a program with CMake and MinGW I get characters like 'Ä1/4' (ü) for example.
Then I tried to save the resource file under nodepad as Unicode.
If I try to compile my application with the unicode .rc file I get the following error: "windres: MyProject.rc:1: syntax error"

Is there something which I need to enable to compile a unicode resource file with windres (MinGW)?

I also tried to use rc.exe from my Visual Studio installation and this seems to work.
Can I maybe use the rc from Visual Studio and link to the MinGW application?

Thanks in advance

Best Regards
NoRulez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120505/27ec548e/attachment.htm>


More information about the CMake mailing list