Syntax error when running Winres, trying to set executable icon

≯℡__Kan透↙ 提交于 2020-12-14 23:40:08

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!