Create a exe file with icon in Mingw gcc

1. get a icon file name “logo.ico”
2. create an file name “logo.rc”, contain a line:

1 ICON “icon.ico”

3. run : (windres was include in Mingw)

windres logo.rc logo.o

4. link the “logo.o” file together with other object files to the final exe file.

文章分类 GTK +, Programming
One comment on “Create a exe file with icon in Mingw gcc
  1. vzomik说道:

    嗯,谢谢啦,我去试试。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*