sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
425 stars 43 forks source link

Can not build flutter-elinux app on ubuntu 22.04 #168

Closed fayfive closed 1 year ago

fayfive commented 1 year ago

flutter-elinux build elinux --target-arch=arm64 --target-compiler-triple=aarch64-linux-gnu --target-sysroot=/home/alfred/ubuntu18-arm64-sysroot I use this command and the ubuntu18-arm64-sysroot is follow your steps. I use cross compile. Here is the error.

/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libdl.so.2, needed by /home/alfred/test/elinux/flutter/ephemeral/libflutter_engine.so,
not found (try using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libpthread.so.0, needed by
/home/alfred/test/elinux/flutter/ephemeral/libflutter_engine.so, not found (try using
-rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libm.so.6, needed by /home/alfred/test/elinux/flutter/ephemeral/libflutter_engine.so, not
found (try using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libxkbcommon.so.0, needed by
/home/alfred/test/elinux/flutter/ephemeral/libflutter_elinux_wayland.so, not found (try
using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libwayland-client.so.0, needed by
/home/alfred/test/elinux/flutter/ephemeral/libflutter_elinux_wayland.so, not found (try
using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libwayland-cursor.so.0, needed by
/home/alfred/test/elinux/flutter/ephemeral/libflutter_elinux_wayland.so, not found (try
using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libwayland-egl.so.1, needed by
/home/alfred/test/elinux/flutter/ephemeral/libflutter_elinux_wayland.so, not found (try
using -rpath or -rpath-link)
/opt/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: warning:
libEGL.so.1, needed by
.......

what's the master?

fayfive commented 1 year ago

https://github.com/sony/flutter-elinux/issues/120