Using .ico files as icons when creating executables in DrRacket IDE

172 views Asked by At

I have a simple question. Whenever I create a stand-alone application from the DrRacket IDE, I want to use an .ico file as the icon for the file. The acceptable dimensions are 16x16, 32x32, or 48x48. However, whenever I attempt I attach an .ico files to use, DrRacket just creates the executable with the default DrRacket icon. Does anyone have any idea why this is occurring?

2

There are 2 answers

2
Robert Harvey On

Raco contains a command line option to supply an .ICO file for the resulting executable. See http://docs.racket-lang.org/raco/exe.html:

raco exe -ico /path/to/icon.ico
1
Andrea Virgillito On

I don't know if I got the same error, but I had one and I solved using .ICO files instead of .ico