Page 1 of 1

Adding an Icon to my programs.

Posted: Wed Nov 07, 2012 12:06 pm
by relminator
Hello, how do I add icons to my programs from inside the IDE? Been a while since I last dabbled in windows( I mostly do DS stuff these days.) so apologies for the ignorance.

I have this .rc file

Code: Select all

#define cwicon 500

cwicon ICON DISCARDABLE "cw.ico"

Saved it as Bullet.rc then "added" it to my workspace as an "existing file.

windres compiled it just fine saying that "-i" is deprecated and should use "-j" instead.

Then when codelite calls the linker, it errors with "not a valid resource file" or something.

Thanks!

BTW, here's my project:
http://rel.phatcode.net/junk.php?id=129