Gn args for Linux

35 views
Skip to first unread message

L2000

unread,
May 19, 2025, 2:01:28 AM5/19/25
to skia-discuss
Hi
    I just want to build skia libraries for linux with Intel (x86-64). I used the following args for building the libraries.

--args='is_debug=false is_official_build=true is_component_build=false skia_use_system_expat=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_system_icu=false skia_use_system_harfbuzz=false skia_use_icu=true skia_enable_skparagraph=true skia_use_gl=true cc="clang" cxx="clang++" extra_cflags=["-mavx512f"]'

When using these libraries in my project , I got errors related due to c++ incompatibility whenever i tried to create Font collection.
Screenshot from 2025-05-16 12-34-24.png

Anyone knows how to resolve? Currently I am using Qt for my project development.Also which compiler i should choose? gcc or clang?

TIA.

L2000

unread,
May 19, 2025, 2:03:19 AM5/19/25
to skia-discuss
Screenshot from 2025-05-16 12-34-24.png
This is the mentioned c++ error I got while building my project
Reply all
Reply to author
Forward
0 new messages