Page 1 of 1

No outputscreen with "console" as compileroption

Posted: Sat Feb 22, 2025 5:27 pm
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

Re: No outputscreen with "console" as compileroption

Posted: Sat Feb 22, 2025 8:03 pm
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.

Re: No outputscreen with "console" as compileroption

Posted: Sun Feb 23, 2025 9:23 am
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.

Re: No outputscreen with "console" as compileroption

Posted: Sun Feb 23, 2025 12:27 pm
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 ...

Re: No outputscreen with "console" as compileroption

Posted: Sun Feb 23, 2025 5:08 pm
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