Skip to content

Wish: Cross kernel executable

Hi,

May this example:

https://github.com/openembedded/meta-openembedded/pull/601

help @brgl to validate LVGL for linux port:

https://gitlab.eclipse.org/eclipse/oniro-blueprints/context-aware-touch-screen/meta-oniro-blueprints-cats/-/tree/brgl/cats-linux

I tested dialog on vending machine blueprint this way:

sudo su
export WAYLAND_DISPLAY=wayland-1
export XDG_RUNTIME_DIR=/run/user/1000
weston-terminal &
dialog-lvgl

Note since @brgl is writing cats in c++, may you consider this problem:

make deps ; make CC=clang++  run


clang++ -Isrc -I/home/rzr/var/cache/url/git/ssh/git.ostc-eu.org/rzr/dialog-lvgl/src/dialog-lvgl/tmp/sysroot/usr/local/include/ -I/home/rzr/var/cache/url/git/ssh/git.ostc-eu.org/rzr/dialog-lvgl/src/dialog-lvgl/tmp/sysroot/usr/local/include/lvgl -I/home/rzr/var/cache/url/git/ssh/git.ostc-eu.org/rzr/dialog-lvgl/src/dialog-lvgl/tmp/sysroot/usr/local/include/lvgl/lv_drivers -DLV_CONF_INCLUDE_SIMPLE=1 -DUSE_SDL=1 -D_REENTRANT -I/usr/include/SDL2   -c -o src/os/linux/main.o src/os/linux/main.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]


clang++ --version
Ubuntu clang version 14.0.0-1ubuntu1

TBC

Edited by philippe coval