OpenConsole() not displaying a console

Mac OSX specific forum
kaylus
New User
New User
Posts: 4
Joined: Sun Sep 17, 2023 3:05 pm

OpenConsole() not displaying a console

Post by kaylus »

I've tested this on three different arm64 Macs:

1. Open PureBasic
2. Load Console.pb
3. Click run

The console appears in the taskbar as a grey bouncing icon, it lasts as long as the program execution and the program appears to run. I was able to modify the Networking example to use Console and it connected and processed events but the console never displayed.

Tested on Ventura 13.3.1, and Sonoma Beta 14.0.

I have a feeling this is some permissions related issue, but I haven't been able to find it. This is also happening if I compile the App and attempt to run it as well.

// Moved from "Bugs - Mac OSX" to "Mac OSX" (Kiffi)
User avatar
mk-soft
Always Here
Always Here
Posts: 6205
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: OpenConsole() not displaying a console

Post by mk-soft »

Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
kaylus
New User
New User
Posts: 4
Joined: Sun Sep 17, 2023 3:05 pm

Re: OpenConsole() not displaying a console

Post by kaylus »

Ah, weird -- I had set that after reading the other thread and thought I tested but maybe between swapping in and out the Rosetta versions and twinging settings I missed it or possibly set it on the Rosetta compiler which (clearly) failed and unset it. You are absolutely correct, this "bug" is my fault.
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: OpenConsole() not displaying a console

Post by Piero »

mk-soft wrote: Sun Sep 17, 2023 3:36 pm Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)
You are always so gentle and helpful mk...

...are all primes (past 2 and 3) of the forms 6n+1 and 6n-1? :P
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: OpenConsole() not displaying a console

Post by Demivec »

off-topic posting removed
Last edited by Demivec on Wed Sep 20, 2023 1:49 pm, edited 1 time in total.
User avatar
Lord
Addict
Addict
Posts: 900
Joined: Tue May 26, 2009 2:11 pm

Re: OpenConsole() not displaying a console

Post by Lord »

Piero wrote: Mon Sep 18, 2023 6:15 pm
mk-soft wrote: Sun Sep 17, 2023 3:36 pm Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)
...

...are all primes (past 2 and 3) of the forms 6n+1 and 6n-1? :P
Why do you hijack this thread?
Image
Post Reply