Mac newbie with trouble

Mac OSX specific forum
User avatar
GeoTrail
Addict
Addict
Posts: 2795
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Mac newbie with trouble

Post by GeoTrail »

I bought me a MacBook not long ago, and offcourse I couldn't wait to fire up PB on it. Everything works great, at first. I installed the latest devtools from Apple, and it works great when I hit F5 to compile and run. Just a simple test program using one variable and an inputrequester.

But when I compile the program to the harddisk and run it, a terminal window is opened and I can't access the test program, it's opened behind the terminal. What am I doing wrong here? don't want that darn terminal to popup :|
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
WilliamL
Addict
Addict
Posts: 1255
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Post by WilliamL »

your program must end with .app to run in the Mac GUI

e.g. MyProgram.app

http://www.purebasic.fr/english/viewtopic.php?t=35745
MacBook Pro-M1 (2021), Tahoe 26.1, PB 6.30b2
User avatar
GeoTrail
Addict
Addict
Posts: 2795
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Nice one, works great.
Thanks for the tip William :)

Btw, what kind of files should be used as program icons?
I tried with a .ico file I used previously but I can only see the standard .App icon.

Oh, and where is the Visual Designer? :shock:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
WilliamL
Addict
Addict
Posts: 1255
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Post by WilliamL »

.icns for icons

see Freak/my thread on icons (etc.)

http://www.purebasic.fr/english/viewtopic.php?t=34231

no Visual Designer on the Mac
MacBook Pro-M1 (2021), Tahoe 26.1, PB 6.30b2
User avatar
GeoTrail
Addict
Addict
Posts: 2795
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Thanks for the link William.
Time to get reading :D
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Post by jack »

GeoTrail, as for icons, you can also change an application icon by pasting an image, do: getinfo of the app and select the icon on the top-left corner, then paste whatever image you want.
Post Reply