Closed MrMarteng closed 7 months ago
Hi Martin! Hah, I was just building Slint with Yocto for the imx8 board we have from you (using fsimx8mp-Y2023.09). You're targeting a Linux system, so you should not need SLINT_FEATURE_FREESTANDING=ON
. Is there a particular reason for enabling it?
BTW, feel free to pop into our chat at https://chat.slint.dev/ - I had a few questions regarding your Yocto setup and am happy to offer help in exchange :)
SLINT_FEATURE_FREESTANDING is not compatible with SLINT_FEATURE_BACKEND_WINIT, but normally winit shouldn't be build if one enable the SLINT_FEATURE_FREESTANDING.
Also SLINT_BACKEND
is not a cmake variable, and the skia renderer is not enabled by default and also not compatible with SLINT_FEATURE_FREESTANDING)
Tagging this as needs-info as it's unclear what the desired use of SLINT_FEATURE_FREESTANDING=ON is in a Linux target environment - perhaps we should throw an error if that's configured?
I am getting a build error when compiling slint
Build target is a Cortex-A53 (aarch64) located on the SOM "PicoCore IMX8MM" from www.fs-net.de. FS is providing an according cross-compiler (aarch64-fs-linux-gnu-gcc). rustc V1.75 is installed:
Host system is a Ubuntu Linux (arm64), running in a WSL2 docker environment:
For simplicity I added all SLINT definitions in the cmake file directly. Here is the full project configuraiton:
The unresolved error only appears when trying to compile slint into the application (SLINT_FEATURE_FREESTANDING=ON)
Any idea what is causing this issue?