Cannot get IDE to work correctly on OS X [SOLVED]

Mac OSX specific forum
User avatar
SparrowhawkMMU
User
User
Posts: 56
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Cannot get IDE to work correctly on OS X [SOLVED]

Post by SparrowhawkMMU »

Hello all,

I have just downloaded the demo version of PB and am trying to run a very simple program from Kale's PB intro book:

Code: Select all

OpenConsole()
Print("Press enter")
Input()
End
However, although no errors are thrown, I am not seeing any Console. The program runs and terminates without anything happening other than a small dialogue popping up for a fraction of a second saying something like "Compiling 4 lines".

The output window states:
Waiting for executable to start...
Executable Type: MacOSX - x64 (64bit, Unicode)
Executable started
the program execution has finished
If I try

Code: Select all

Debug "Hello"
the debug window pops up and displays Hello correctly

My Setup:
MBP 2011 with 8GB RAM
OS X 10.8.5
XCode 5.0.2 (5A3005) with command line tools installed
PureBasic 5.21 LTS (MacOS X - x64)
IDE build on 11/20/2013 [11:05] by fred
Branch: v5.20 Revision: 1580

Note (may be relevant, may not be):
I use 2 accounts on this Mac: 1 admin and 1 standard user. I do all installations/updates via the admin account and all work on the standard account. I installed PB via the Admin account into Applications. When I then logged into my standard account, the PB folder had a no entry sign on it so I added my user to the folder with read/write to the folder and all subfolders (ie granted myself full access) in order to be able to open the app

Could somebody help me out? PureBasic looks great and I'm a little fed up with the current Xojo pricing scheme/policy. I'd be very interested in getting a PB license if I can get over these initial hurdles and if further tests prove promising

One other question: I have 2 Macs, 2 Windows PCs and a Linux PC. Am I correct in thinking that 1 license will grant me the right to install PB on each machine, as long as they are just for my own use?

Many thanks for any help that may be forthcoming! :)
Last edited by SparrowhawkMMU on Fri Jan 17, 2014 9:25 pm, edited 1 time in total.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Cannot get IDE to work correctly on OS X

Post by Danilo »

Did you change compiler option "Executable format" from 'MacOS' to 'Console'?

Yes, 1 personal license is for all your machines.
Last edited by Danilo on Fri Jan 17, 2014 9:19 pm, edited 1 time in total.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Cannot get IDE to work correctly on OS X

Post by ts-soft »

you should set the compileroptions to console!

//edit
to late :mrgreen:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
SparrowhawkMMU
User
User
Posts: 56
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: Cannot get IDE to work correctly on OS X

Post by SparrowhawkMMU »

Doh!

Well that was embarassing :oops:

Thanks guys, it's all working now.

I've got a day at home this coming Monday, I'll have a more thorough run through of PB then. I suspect I will be making plenty of use of this forum!
Post Reply