Hello,
I am a new PureBASIC user and member of these forums.
I am using 4.10 on an Intel Mac (10.4.x) and when I go to build the executable it creates a terminal based application which in turn does not run correctly. Inside PB it is fine. I have the Executable Format set to Mac OS so not sure what else to do. As well, can't seem to get a *.icns file to take to the application as well.
Any feedback is appreciated.
Thanks.
Mark
Mac Executable Creation Issue with Icon and Graphical Ver.
Thanks!!! The ***.app helped to make it a GUI executable.
I used ICON Composer along with .png files to make a *.icns file and the icon for the application is the Mac default pencil, ruler, brush but when I launch it the icon on the dock is correct.
If anyone can explain this that would be great. I have never developed on the Mac before.
Mark
I used ICON Composer along with .png files to make a *.icns file and the icon for the application is the Mac default pencil, ruler, brush but when I launch it the icon on the dock is correct.
If anyone can explain this that would be great. I have never developed on the Mac before.
Mark
Sounds like you first created an exe without icon and then overwrote it withMarkR wrote:I used ICON Composer along with .png files to make a *.icns file and the icon for the application is the Mac default pencil, ruler, brush but when I launch it the icon on the dock is correct.
a new one with an icon. This probably confused Finder a bit, which caches the Icons iirc.
Try creating an exe with a new name or new location. Also restarting the computer
might help as well.
If it shows in the dock correctly, then the icon should be correctly included.
Its just not visible in Finder yet.
quidquid Latine dictum sit altum videtur
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Freak: I'm not used to Macs either, do you know of a way to flush the icon cache in Finder?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Follow Up
Well this morning the icon was finally there. Thanks. I am sure in the future I will know about the Mac. I tried different application names, rebooting, etc. Right now just trying to develop on Windows and make sure my code works on Linux and the Mac.
Thanks for everyone's help. If I learn more about the .icns file and the icons I will repost here.
Mark
Thanks for everyone's help. If I learn more about the .icns file and the icons I will repost here.
Mark


