Search the Community
Showing results for tags 'wsl2'.
Found 1 result
-  
  PAServer Linux (WSL2) Delphi 12.2 does not output to console
Patrick vd P. posted a topic in Cross-platform
Hi, I'm testing some console code to run under Ubunu 22.04 (WSL2), but a very simple application only using WriteLn('Hello World!!'); doesn't seem to work when using the PAServer. There is no output on the Linux console. When I start the project directly from the scratch-dir it does work as desired, e.g. outputting "Hello World!!". I've done the following: In the WSL console I have installed the dev packages: sudo apt install libcurl4-gnutls-dev build-essential The copied/unpacked the PAServer V23.0 as per DocWiki. I have connected to the PAServer from Delphi and loaded the SDK. I do not see any errors. The application I use is very simple: program Test; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try Writeln('Hello World!!'); ReadLn; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. Any suggestions on what I'm doing wrong? 
![Delphi-PRAXiS [en]](https://en.delphipraxis.net/uploads/monthly_2018_12/logo.png.be76d93fcd709295cb24de51900e5888.png)