Create executable - always a console app

Mac OSX specific forum
Ace
User
User
Posts: 26
Joined: Fri Apr 25, 2003 8:34 pm

Create executable - always a console app

Post by Ace »

I'm running PureBasic 4.41 (MacOS X - x86) on Snowleopard (10.6.2). When I run my app from the IDE everythin is fine, but if I create an executable it's compiling a console app all time. Executable format in compiler options is set to MacOS - All CPU. What am I doing wrong?
WilliamL
Addict
Addict
Posts: 1256
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: Create executable - always a console app

Post by WilliamL »

Create Executable:

MyProgram.app
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b5
Ace
User
User
Posts: 26
Joined: Fri Apr 25, 2003 8:34 pm

Re: Create executable - always a console app

Post by Ace »

That's the problem. There is no *.app file created, just a MyProgram file, a console program!
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Create executable - always a console app

Post by luis »

Ace wrote:That's the problem. There is no *.app file created, just a MyProgram file, a console program!
I guess he means you should try to save it appending ".app" to the name specified.

A search in the forum gave this:

http://www.purebasic.fr/english/viewtop ... 43#p192843

I don't have a Mac :D
"Have you tried turning it off and on again ?"
Ace
User
User
Posts: 26
Joined: Fri Apr 25, 2003 8:34 pm

Re: Create executable - always a console app

Post by Ace »

Ah, sorry. Now I understand. :roll: Thanks
WilliamL
Addict
Addict
Posts: 1256
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: Create executable - always a console app

Post by WilliamL »

Thanks again for the help, Luis (and to think you don't even own a Mac!)

Don't feel bad, Ace, some of us have already made that mistake as the link shows. I feel that it is better to ask the question (or make a search), so that you can get on with your project, than to be stumped.
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b5
Post Reply