Icon issues (GLFW Windows)

Monkey Targets Forums/Desktop/Icon issues (GLFW Windows)

Pengwin(Posted 2013) [#1]
I know this has probably been asked a thousand times before, but how DO I change the icon for my Windows game?

From what I have read, there are two ways...

1. Use a resource editor and edit the exe to add an icon

2. Open the project in VC and Add Item...and the select resource.

I have tried both and (forgive my complete ignorance),

1. HOW exactly do I add the icon (I'm not quite as thick as that sounds)? What label should I give it to register as the application icon? Monkey, by default, doesn't add an icon resource to the exe for me to just change.

2. I am using VC Express 2010 and when I select add item, there is no Resource option to add.


Pengwin(Posted 2013) [#2]
Quick change of plan, had problems compiling on my Win8 machine using VC2010, so I have switched to MingW on Win8... still not sure how to change the icon though.


AdamRedwoods(Posted 2013) [#3]
http://stackoverflow.com/questions/708238/how-do-i-add-an-icon-to-a-mingw-gcc-compiled-executable
mingw has winres in the "bin" folder.
for monkey, use the new (v76d) #CC_LIBS = "myicon.res" option.


Code Princess(Posted 2014) [#4]
Forgive me, please, but how does one use the #CC_Libs option?
Thank you for your help. -_-


Soap(Posted 2014) [#5]
Full details on how to do icons right here:

http://www.monkey-x.com/Community/posts.php?topic=9172