Page 1 of 1

Create executable - always a console app

Posted: Mon Mar 29, 2010 6:25 pm
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?

Re: Create executable - always a console app

Posted: Mon Mar 29, 2010 6:47 pm
by WilliamL
Create Executable:

MyProgram.app

Re: Create executable - always a console app

Posted: Tue Mar 30, 2010 7:22 am
by Ace
That's the problem. There is no *.app file created, just a MyProgram file, a console program!

Re: Create executable - always a console app

Posted: Tue Mar 30, 2010 10:57 am
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

Re: Create executable - always a console app

Posted: Tue Mar 30, 2010 2:15 pm
by Ace
Ah, sorry. Now I understand. :roll: Thanks

Re: Create executable - always a console app

Posted: Tue Mar 30, 2010 5:08 pm
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.