{ The System.Skia.API unit loads the libsk4d library in its class constructors, which eats any error message. This unit logs an error via the LazLogger unit. } unit LCL.SkiaInit; {$mode ObjFPC}{$H+} interface uses SysUtils, LazLogger, System.Skia.API; implementation initialization try SkInitialize; except on E: Exception do begin DebugLn('Failed loading skia libb: '+E.Message); Halt(1); end; end; end.