Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build on Windows when using rust-skia's Skia binaries #1447

Closed
Tracked by #1445
tronical opened this issue Aug 1, 2022 · 0 comments
Closed
Tracked by #1445

Fix the build on Windows when using rust-skia's Skia binaries #1447

tronical opened this issue Aug 1, 2022 · 0 comments
Labels
a:platform-windows Issue specific to Windows (mT,bS) a:renderer-skia Skia Renderer (mS)

Comments

@tronical
Copy link
Member

tronical commented Aug 1, 2022

The build on Windows with Visual Studio and using rust-skia's Skia binaries may produce the following error:

= note: skunicode.lib(icu.SkLoadICU.obj) : error LNK2019: unresolved external symbol __std_init_once_link_alternate_names_and_abort referenced in function "bool __cdecl SkLoadICU(void)" (?SkLoadICU@@YA_NXZ)
          skunicode.lib(icu.umutex.obj) : error LNK2001: unresolved external symbol __std_init_once_link_alternate_names_and_abort
          D:\a\slint\slint\target\debug\deps\plotter.exe : fatal error LNK1120: 1 unresolved externals

A newer version of Visual Studio might fix this (>= 17.2?). But those who do want or cannot upgrade, it might make sense to offer a way to build Skia from source.

@tronical tronical added the a:platform-windows Issue specific to Windows (mT,bS) label Aug 1, 2022
@tronical tronical closed this as completed Aug 2, 2022
@tronical tronical added the a:renderer-skia Skia Renderer (mS) label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:platform-windows Issue specific to Windows (mT,bS) a:renderer-skia Skia Renderer (mS)
Projects
None yet
Development

No branches or pull requests

1 participant