FireMonkey for Linux requirements
Supported Delphi versions
TRichView supports Linux in the following Delphi versions:
- Delphi 10.3
- Delphi 10.4
- Delphi 11.x
Only Enterprise and Architect editions of Delphi support Linux platform.
FMXLinux
Unlike other FireMonkey platforms, Linux platform requires an additional library: FMXLinux.
TRichView requires FMXLinux version 1.72 or newer.
The current version (1.73) is highly recommended.
FMXLinux is available:
- via the RAD Studio GetIt Package Manager in the IDE, for Delphi and RAD Studio Enterprise and Architect customers who have Update Subscription.
- from https://www.fmxlinux.com/ , where you can download a trial version or order a life-time license.
There are some minor problems with FMXLinux distribution. They are discussed below.
FMLXLinux: a version from fmxlinux.com
TRichView packages for Linux were created for FMXLinux version from fmxlinux.com web site.
This version does not include "FMX" package, all units that should be in this package are distributed as separate files. Because of this, the first your or third-party package that uses these units will include them implicitly.
As a result we added a reference to "FMX" package to RVPkgFMXD*.dpk as
{$IFnDEF LINUX}fmx,{$ENDIF}
FMLXLinux: GetIt version
In GetIt package manager, FMXLinux v1.73 is available only for Delphi 11.
Delphi 10.3 and 10.4 have older version of FMXLinux that cannot be used with TRichView (so, if you do not want to upgrade Delphi, the only option is FMXLinux from
www.fmxlinux.com)
This version includes a compiled "FMX" package for Linux.
So, if you use GetIt version, open RVPkgFMXD11.dpk and change
{$IFnDEF LINUX}fmx,{$ENDIF} to
fmx,. The same for RVPkgFMXD11_Dsgn.dpk
But, at least when I tested it, a path to this package was not added to Delphi library paths for Linux platform.
If you see a compilation error that the package cannot be found, add the path to it manually in Delphi library paths (menu "Tools | Options", page "Language | Delphi | Library", platform "Linux 64-bit"). Usually it is "$(BDSCatalogRepositoryAllUsers)\FmxLinux-1.73\Redist\"