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?