A Cross Compiler Logger lazarus / 21-General ---------------------------------------------------------------------- peardox · 2025-05-10 17:18 I'm Pascal writing some bindings for Whisper.cpp, a project that transcribes/translates audio into text (https://github.com/ggml- org/whisper.cpp) in a GitHub repo at https://github.com/WhisperBooks/PasWhisper My main development is in Delphi FMX (with VCL tested regularly) I want the end result to also be FPC/Lazarus compatible so I'm taking care to make the code FPC-friendly as well The biggest headache I've come across is Logging. I can get plenty of Loggers for either platform but can't find a single Logger that does both FPC/Laz AND VCL+FMX Obviously, a Logger is not the thing I want to write. The Whisper bindings are the core of the project (as well as making some modifications to the C/C++ side of things) I finally found hope in log4d but after fixing that to work with FMX it's no longer working with FPC At that stage I simply decided to fake the log interface for FPC so it does nothing (a load of empty functions). Naturally, this is not what I really want. But I'm at a loss. Are there any Loggers that support FPC/Lazarus and Delphi VCL + FMX? Or do I leave the FPC version with a fake logger? ---------------------------------------------------------------------- CM630 · 2025-05-11 09:48 I did not read your entires post, but Tero is a Lazarus app that uses Whisper and FasterWhisper. https://github.com/URUWorks/TeroSubtitler Also, I have tried both Whisper and FasterWhisper, the second one is much-much better.