Page 1 of 1

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

Posted: Fri Jan 17, 2014 9:13 pm
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! :)

Re: Cannot get IDE to work correctly on OS X

Posted: Fri Jan 17, 2014 9:18 pm
by Danilo
Did you change compiler option "Executable format" from 'MacOS' to 'Console'?

Yes, 1 personal license is for all your machines.

Re: Cannot get IDE to work correctly on OS X

Posted: Fri Jan 17, 2014 9:18 pm
by ts-soft
you should set the compileroptions to console!

//edit
to late :mrgreen:

Re: Cannot get IDE to work correctly on OS X

Posted: Fri Jan 17, 2014 9:21 pm
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!