No outputscreen with "console" as compileroption

Working on new editor enhancements?
Rudy M
User
User
Posts: 44
Joined: Fri Aug 23, 2024 1:18 pm

No outputscreen with "console" as compileroption

Post by Rudy M »

Hello,

After my first installation, programs with "open console" and others with "debug" worked perfectly.
But last weeks I do not get any output window.

Up to now, I get the following with the old well-functioning programs with "console" as compiler:
- No error message when compiling"
- No error message when executing the program"
- No error message after executing the program"
- The program ends as with all 'well' working programs.
BUT, I get no screen output at all.

So I definitely use "console" as an option for the compiler.

The only thing I can think of is:
That is an error somewhere in another compiler option.

Anyone have an idea?

Best regards,
Rudy M
infratec
Always Here
Always Here
Posts: 7577
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: No outputscreen with "console" as compileroption

Post by infratec »

If you choose 'Executable-Format: Console', then you get not an own window.

For development set 'Executable-Format: Windows'

In 'Compiler options' of course.
Rudy M
User
User
Posts: 44
Joined: Fri Aug 23, 2024 1:18 pm

Re: No outputscreen with "console" as compileroption

Post by Rudy M »

Thanks for Your respons.

I have 3 compiler options:
- Linux
- Console
- shared.so

I did a test with "Linux" in place of the 'normal used' "console" option.
But I get it not working.
And strange, in the early begin I was testing Purebasic, all console examples (and some of my own little tests) worked perfect.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: No outputscreen with "console" as compileroption

Post by mk-soft »

Which Linux version distribution.
Here there are different terminal programs per distribution. Should one have been added. This must be added to the IDE source.
The console works perfectly here ...
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
Rudy M
User
User
Posts: 44
Joined: Fri Aug 23, 2024 1:18 pm

Re: No outputscreen with "console" as compileroption

Post by Rudy M »

Thanks mk-soft for Your reply,

I work with Linux Mint 22 and Xfce4 as desktop

NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble

Little test:

Code: Select all

 
OpenConsole()                              ;Results: 
PrintN ("Waiting 5 secs before quit...")   ;Nothing to see???? 
                                           ;================== 
Delay(5000)                                ;OK Delay works!

Debug "Hello"            ;This displays "Hello" in a window
Input ()                 ;And wait till a key is pressed 

CloseConsole ()

;Compiler Options for Executable format "Linux" or "Console" gives the same result  
Post Reply