Hi,
I'm trying to compile a small test program in which i attempt to draw text using SkParagraph but while compiling im getting following error
>> g++ -o nn main.cpp -lskia -lskshaper -ldl -lharfbuzz -lharfbuzz-subset -lpthread -ljpeg -lfreetype -licu -lz -lpng -lfontconfig -lwebp -lwebpmux -lwebpdemux -lskparagraph -lpathkit -lskunicode_core -lskcms -lwuffs -lzlib -lexpat -lskunicode_icu -lGL -I. -Ithird_party/skia -Lthird_party/skia/out/Static
===================== log output=============
/usr/bin/ld: third_party/skia/out/Static/libskparagraph.a(libskparagraph.TextLine.o): in function `skia::textlayout::TextLine::shapeEllipsis(SkString const&, skia::textlayout::Cluster const*)::$_0::operator()(sk_sp<SkTypeface>, sk_sp<SkFontMgr>) const':
TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x128): undefined reference to `SkShapers::HB::ShapeDontWrapOrReorder(sk_sp<SkUnicode>, sk_sp<SkFontMgr>)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x153): undefined reference to `SkShapers::HB::ShapeDontWrapOrReorder(sk_sp<SkUnicode>, sk_sp<SkFontMgr>)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x1be): undefined reference to `SkShapers::unicode::BidiRunIterator(sk_sp<SkUnicode>, char const*, unsigned long, unsigned char)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x1e4): undefined reference to `SkShaper::MakeStdLanguageRunIterator(char const*, unsigned long)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x1f4): undefined reference to `SkShapers::HB::ScriptRunIterator(char const*, unsigned long)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x223): undefined reference to `SkShaper::MakeFontMgrRunIterator(char const*, unsigned long, SkFont const&, sk_sp<SkFontMgr>)'
/usr/bin/ld: TextLine.cpp:(.text._ZZN4skia10textlayout8TextLine13shapeEllipsisERK8SkStringPKNS0_7ClusterEENK3$_0clE5sk_spI10SkTypefaceES9_I9SkFontMgrE+0x257): undefined reference to `SkShaper::MakeFontMgrRunIterator(char const*, unsigned long, SkFont const&, sk_sp<SkFontMgr>)'
/usr/bin/ld: third_party/skia/out/Static/libskparagraph.a(libskparagraph.OneLineShaper.o): in function `std::_Function_handler<float (skia::textlayout::SkRange<unsigned long>, SkSpan<skia::textlayout::Block>, float&, unsigned long, unsigned char), skia::textlayout::OneLineShaper::shape()::$_0>::_M_invoke(std::_Any_data const&, skia::textlayout::SkRange<unsigned long>&&, SkSpan<skia::textlayout::Block>&&, float&, unsigned long&&, unsigned char&&)':
OneLineShaper.cpp:(.text._ZNSt17_Function_handlerIFfN4skia10textlayout7SkRangeImEE6SkSpanINS1_5BlockEERfmhEZNS1_13OneLineShaper5shapeEvE3$_0E9_M_invokeERKSt9_Any_dataOS3_OS6_S7_OmOh+0x75): undefined reference to `SkShapers::HB::ShapeDontWrapOrReorder(sk_sp<SkUnicode>, sk_sp<SkFontMgr>)'
/usr/bin/ld: third_party/skia/out/Static/libskparagraph.a(libskparagraph.OneLineShaper.o): in function `std::_Function_handler<skia::textlayout::OneLineShaper::Resolved (sk_sp<SkTypeface>), skia::textlayout::OneLineShaper::shape()::$_0::operator()(skia::textlayout::SkRange<unsigned long>, SkSpan<skia::textlayout::Block>, float&, unsigned long, unsigned char) const::{lambda(skia::textlayout::Block, skia_private::TArray<SkShaper::Feature, true>)#1}::operator()(skia::textlayout::Block, skia_private::TArray<SkShaper::Feature, true>) const::{lambda(sk_sp<SkTypeface>)#1}>::_M_invoke(std::_Any_data const&, sk_sp<SkTypeface>&&)':
OneLineShaper.cpp:(.text._ZNSt17_Function_handlerIFN4skia10textlayout13OneLineShaper8ResolvedE5sk_spI10SkTypefaceEEZZZNS2_5shapeEvENK3$_0clENS1_7SkRangeImEE6SkSpanINS1_5BlockEERfmhENKUlSC_N12skia_private6TArrayIN8SkShaper7FeatureELb1EEEE_clESC_SJ_EUlS6_E_E9_M_invokeERKSt9_Any_dataOS6_+0x2f6): undefined reference to `SkShapers::HB::ScriptRunIterator(char const*, unsigned long)'
/usr/bin/ld: third_party/skia/out/Static/libskparagraph.a(libskparagraph.FontCollection.o): in function `skia::textlayout::FontCollection::clearCaches()':
FontCollection.cpp:(.text._ZN4skia10textlayout14FontCollection11clearCachesEv+0x8f): undefined reference to `SkShapers::HB::PurgeCaches()'
collect2: error: ld returned 1 exit status
==========================================
what am i missing is it some dependency and btw im not been able to compile skia without any warning of AVX.
Any help appreciated!