Syntax error when running Winres, trying to set executable icon

314 views Asked by At

When running ([filename] is just a placeholder]) windres -v -i [filename].rc -o [filename].o in the terminal I get the following messages:

gcc -E -xc -DRC_INVOKED [filename].rc'

Using popen to read preprocessor output

windres.exe: [filename].rc:1: syntax error

I don't understand why there is a syntax error. I am trying to set an icon for an executable like this https://wiki.haskell.org/Setting_an_executable_icon , but don't get it working. What is the solution to this?

0

There are 0 answers