c - "unrecognized escape sequence" error on windres -


i'm trying compile c program icon attached.

i'm following instructions: how add icon mingw-gcc compiled executable?

both evan's , steven's replies.

i'm getting error 4x:

ico.rc:1: unrecognized escape sequence 

when run:

windres ico.rc -o coff -o ico.res 

the working dir executable, source file , 'icon.ico' files are. icon png converted with

ffmpeg -i icon.png icon.ico 

the '.rc' file content is:

id icon ico.ico 

my machine windows 10 32-bits mingw, without microsoft visual studio.

how can compile program icon?


Comments