Adding an Icon to my programs.

CodeLite installation/troubleshooting forum
relminator
CodeLite Curious
Posts: 6
Joined: Tue Dec 14, 2010 8:26 am
Genuine User: Yes
IDE Question: C++
Location: Philippines
Contact:

Adding an Icon to my programs.

Post 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