问题
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?
来源:https://stackoverflow.com/questions/65095586/syntax-error-when-running-winres-trying-to-set-executable-icon