CanvasKit compilation error since chrome/m139

80 views
Skip to first unread message

sudo

unread,
Oct 17, 2025, 11:04:56 AMOct 17
to skia-discuss
I tried to upgrade from m135 to m142, but got a compilation error. Went to check earlier branches to see when it last worked and found that to be m138.

OS: win10
In skia/modules/canvaskit and running compile.sh no_font no_skottie

wasm-ld: error: obj/modules/canvaskit/canvaskit.canvaskit_bindings.o: undefined symbol: Simplify(SkPath const&, SkPath*)
wasm-ld: error: obj/modules/canvaskit/canvaskit.canvaskit_bindings.o: undefined symbol: Op(SkPath const&, SkPath const&, SkPathOp, SkPath*)
wasm-ld: error: obj/modules/canvaskit/canvaskit.canvaskit_bindings.o: undefined symbol: Op(SkPath const&, SkPath const&, SkPathOp, SkPath*)
wasm-ld: error: obj/modules/canvaskit/canvaskit.canvaskit_bindings.o: undefined symbol: AsWinding(SkPath const&, SkPath*)

William Candillon

unread,
Oct 18, 2025, 12:42:42 PMOct 18
to skia-discuss
Sounds interesting, it looks like a regression since libpathops has been moved to core.
I can confirm the issue mon side as well, it's interesting in the config, everything looks ok. 
@Skia Team: This is tested part of CI right?

I only took a brief look but I might try to take a deeper look.

Kind regards,

William

sudo

unread,
Oct 20, 2025, 3:32:02 PMOct 20
to skia-discuss
Thanks for your reply. This is the specific commit after which I can no longer build https://github.com/google/skia/commit/0132370defcf0351a20c79892710fc55dc52a11d

kjlu...@google.com

unread,
Oct 21, 2025, 9:33:52 AMOct 21
to skia-discuss
We are working on updating the Path API. See https://skia-review.googlesource.com/c/skia/+/1075478 for the change that we will be relanding soon.

William Candillon

unread,
Oct 21, 2025, 9:44:02 AMOct 21
to skia-d...@googlegroups.com
I really like this new API. Very sensible. Path mutability was an
issue for us since we need to let GC know how big the C++ path is but
we don't want to overdo it.
And if I remember correctly, the Path API was the only API which was
slightly "problematic". This should be much cleaner for us.

Kind regards,

William
> --
> You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/X0goEjIaQJc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to skia-discuss...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/skia-discuss/ebaccb8f-76b6-40ad-b2d8-c93a70ad8bf2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages