@salvadordf
I can confirm that by following your instructions, CEF4Delphi works very well inside Ubuntu x86 64-bit.
I tried with 2 examples: SimpleBrowser and MiniBrowser.
And they worked fine with the RPi4 inside the 64-bit Raspberry Pi operating system, too.
But I can't get those same examples to work with the same RPi4 inside Ubuntu Desktop OS arm64. Neither within Fedora OS aarch64.
It compiles correctly, but I only get a small blank screen. (Image attached) Does not show errors.
To test that CEF4Delphi, if it is checking the libraries, I changed the library name to "libEGL1.so" included inside the "Release" folder. And the same small blank screen appears again, but with the message "CEF binaries missing !" (Image attached)
I downloaded the "Sample Application", ran "cefsimple" and it works fine. That is, it is not a problem that a library is missing within the operating system.
Inside the MiniBrowser Example, I have:
procedure CreateGlobalCEFApp;
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.cache := 'cache';
GlobalCEFApp.LogFile := 'debug.log';
GlobalCEFApp.LogSeverity := LOGSEVERITY_VERBOSE;
end;
It does not create any debug.log files. And if I create it manually, it stays empty.
I also added the following messages with writeln
CreateGlobalCEFApp;
writeln('Step 01');
if GlobalCEFApp.StartMainProcess then
begin
// The LCL Widgetset must be initialized after the CEF initialization and
// only in the browser process.
writeln('Step 02');
CustomWidgetSetInitialization;
RequireDerivedFormResource:=True;
Application.Scaled:=True;
Application.Initialize;
Application.CreateForm(TMiniBrowserFrm, MiniBrowserFrm);
Application.Run;
CustomWidgetSetFinalization;
end
else
begin
writeln('Step 03');
end;
DestroyGlobalCEFApp;
And just display "Step 01"