Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run and build error in orangepi 3B #256

Open
xiaoxiaowesley opened this issue Apr 30, 2024 · 1 comment
Open

run and build error in orangepi 3B #256

xiaoxiaowesley opened this issue Apr 30, 2024 · 1 comment

Comments

@xiaoxiaowesley
Copy link

xiaoxiaowesley commented Apr 30, 2024

devices: orangepi 3B
os: ubuntu 22.04

After I install flutter-elinux and create a sample flutter project.
And Got error when run flutter-elinux build elinux --target-backend-type=x11 or flutter-elinux run -d elinux-x11

597bf27595610aac128703cdf1839a4d_720

And my OS only support x11
env | grep -E "DISPLAY|SWAY|XDG_SESSION_TYPE"

XDG_SESSION_TYPE=x11 DISPLAY=:0.0

And flutter-elinux devices shows elinux-x11 device.

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Found 3 connected devices:
  Linux (desktop)  • linux          • linux-arm64    • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x
  eLinux (desktop) • elinux-wayland • flutter-tester • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x
  eLinux (desktop) • elinux-x11     • flutter-tester • Orange Pi 1.0.4 Jammy 5.10.160-rockchip-rk356x

Run "flutter emulators" to list and start any available device emulators.

If you expected another device to be detected, please run "flutter doctor" to diagnose potential issues. You may also try increasing the time to wait for connected devices
with the "--device-timeout" flag. Visit https://flutter.dev/setup/ for troubleshooting tips.
@nguyenlkdn
Copy link

You are lacking libstd++ for clang14
'sudo apt install libstdc++-12-dev`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants