demo richview not compile delphi 12 linux platform
Posted: Sun Jan 07, 2024 9:33 am
I downloaded the fmxlinux and trichviewedit demo library. An error occurs when linking a hello world project with trichview components. Without trichview library components, build and deploy occur without errors.
[DCC Error] E2597 C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_height(void*): error: undefined reference to 'pango_font_metrics_get_height'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lpango-1.0
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_layout_get_context(void*): error: undefined reference to 'pango_layout_get_context'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_context_get_metrics(void*, void*, void*): error: undefined reference to 'pango_context_get_metrics'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_descent(void*): error: undefined reference to 'pango_font_metrics_get_descent'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_height(void*): error: undefined reference to 'pango_font_metrics_get_height'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_strikethrough_position(void*): error: undefined reference to 'pango_font_metrics_get_strikethrough_position'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_strikethrough_thickness(void*): error: undefined reference to 'pango_font_metrics_get_strikethrough_thickness'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_underline_position(void*): error: undefined reference to 'pango_font_metrics_get_underline_position'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_underline_thickness(void*): error: undefined reference to 'pango_font_metrics_get_underline_thickness'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_unref(void*): error: undefined reference to 'pango_font_metrics_unref'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
[DCC Error] E2597 C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_height(void*): error: undefined reference to 'pango_font_metrics_get_height'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lpango-1.0
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_layout_get_context(void*): error: undefined reference to 'pango_layout_get_context'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_context_get_metrics(void*, void*, void*): error: undefined reference to 'pango_context_get_metrics'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_descent(void*): error: undefined reference to 'pango_font_metrics_get_descent'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_height(void*): error: undefined reference to 'pango_font_metrics_get_height'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_strikethrough_position(void*): error: undefined reference to 'pango_font_metrics_get_strikethrough_position'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_strikethrough_thickness(void*): error: undefined reference to 'pango_font_metrics_get_strikethrough_thickness'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_underline_position(void*): error: undefined reference to 'pango_font_metrics_get_underline_position'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_get_underline_thickness(void*): error: undefined reference to 'pango_font_metrics_get_underline_thickness'
C:\Components\TRichViewTrialDelphiFMX\TRichView\Trial\12\DelphiLinux64\12\Release\fmxRVCanvasLinuxFM.o:fmxRVCanvasLinuxFM:function Fmxrvcanvaslinuxfm::pango_font_metrics_unref(void*): error: undefined reference to 'pango_font_metrics_unref'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)