Aru
01/12/2021, 11:19 PMjim
01/12/2021, 11:37 PMAru
01/13/2021, 1:53 AMsuresh
01/13/2021, 2:11 AMAArch64
is not supported for compose-desktop (https://github.com/JetBrains/compose-jb/blob/master/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt#L65-L68)jim
01/13/2021, 3:15 AMolonho
01/13/2021, 7:54 AMjim
01/13/2021, 9:22 AMAru
01/13/2021, 12:26 PMskiko
with bindings for arm64 Skia and Compose for Desktop should work.
And Skia should compile with ease for arm64 given that it's being used in Fuchsia.jim
01/13/2021, 12:37 PMolonho
01/13/2021, 3:35 PMAru
01/13/2021, 4:36 PMskija
separately and then compile skiko
or just building skiko is enough?
Also, do I need Skia-linux-Release-arm64.zip
in the target system or will skiko build-output will have it packaged ?olonho
01/15/2021, 6:33 AMAru
01/15/2021, 3:52 PMcxx=\"$CXX\" cc=\"$CC\"
in the args. Similarly I'll have to pass in the native toolchain with a sysroot for cross compilation for Skiko as well.olonho
01/18/2021, 9:29 AMAru
01/19/2021, 5:40 PMskia-build
to cross-compile to linux-arm64.aarch64-linux-gcc
instead of gcc
toolchain. It's not straight forward and gradle itself does not support configuring a custom toolchain yet.libskiko-linux.so
in a similar way and packaged that into skiko-linux-arm64-0.0.0-SNAPSHOT.jar
. With a big satisfaction, I wanted to test the "Hello world" code in the embedded device and copied the jars over and ran it. I got
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Library file libskija.so not found in /
at org.jetbrains.skija.impl.Library._extract(Library.java:85)
at org.jetbrains.skija.impl.Library.load(Library.java:50)
at org.jetbrains.skija.impl.Library.staticLoad(Library.java:32)
at org.jetbrains.skija.PictureRecorder.<clinit>(PictureRecorder.java:8)
... 18 more
Caused by: java.lang.IllegalArgumentException: Library file libskija.so not found in /
at org.jetbrains.skija.impl.Library._extract(Library.java:68)
... 21 more
I thought skija is not needed if skiko is compiled? Is that not the case ?jim
02/25/2021, 12:35 AMAru
02/25/2021, 1:05 AM.
├── compose-example.jar
├── skiko-jvm-0.1.18.jar
├── skiko-jvm-runtime-linux-arm64-0.1.18.jar
│ ├── libskiko.so <-- This has SKIKO & SKIJA objects along with SKIA bindings
│ ├── libskiko.so.sha256
│ ├── org.jetbrains.skija
│ └── org.jetbrains.skiko
└── libskija.so