Skip to content

[BUG] Cann't run successfully on Linux (Ubuntu20.04.3) #178

@ggdream

Description

@ggdream

Hello, I meet some trouble, please help me, thanks!

  • This is my env:
[✓] Flutter (Channel stable, 2.5.3, on Ubuntu 20.04.3 LTS 5.4.0-89-generic, locale zh_CN.UTF-8)
    • Flutter version 2.5.3 at /usr/local/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (10 天前), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc1)
    • Android SDK at /home/moca/Android/Sdk
    • Platform android-31, build-tools 31.0.0-rc1
    • ANDROID_HOME = /home/moca/Android/Sdk
    • Java binary at: /home/moca/software/jetbrains/apps/AndroidStudio/ch-0/203.7784292/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/moca/software/jetbrains/apps/AndroidStudio/ch-0/203.7784292
    • Flutter plugin version 61.2.2
    • Dart plugin version 203.8430
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.27.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,127.0.0.0/8,::1
    ! NO_PROXY does not contain 127.0.0.1
    • NO_PROXY contains localhost

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 20.04.3 LTS 5.4.0-89-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.54

! Doctor found issues in 1 category.
  • This is my result by run flutter build linux -v:
[  +56 ms] executing: uname -m
[  +27 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +4 ms] executing: [/usr/local/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 18116933e77adc82f80866c928266a5b4f1ed645
[        ] executing: [/usr/local/flutter/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[  +12 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] 2.5.3
[   +7 ms] executing: [/usr/local/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/usr/local/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +68 ms] executing: [/usr/local/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +45 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +45 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +48 ms] Skipping pub get: version match.
[  +36 ms] Found plugin dart_vlc at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/dart_vlc-0.1.8/
[  +10 ms] Found plugin fijkplayer at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/fijkplayer-0.10.0/
[  +28 ms] Found plugin msix at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/msix-2.4.2/
[   +6 ms] Found plugin path_provider at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider-2.0.5/
[   +1 ms] Found plugin path_provider_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_linux-2.1.0/
[        ] Found plugin path_provider_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_macos-2.0.2/
[   +1 ms] Found plugin path_provider_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_windows-2.0.3/
[   +1 ms] Found plugin permission_handler at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/permission_handler-8.2.5/
[   +9 ms] Found plugin shared_preferences at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.0.2/
[   +1 ms] Found plugin shared_preferences_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.0.2/
[   +6 ms] Found plugin url_launcher at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher-6.0.12/
[        ] Found plugin url_launcher_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_linux-2.0.2/
[        ] Found plugin url_launcher_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_macos-2.0.2/
[   +1 ms] Found plugin url_launcher_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_windows-2.0.2/
[   +1 ms] Found plugin video_player at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/video_player-2.2.5/
[   +1 ms] Found plugin video_player_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/video_player_web-2.0.4/
[+2367 ms] Found plugin dart_vlc at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/dart_vlc-0.1.8/
[   +3 ms] Found plugin fijkplayer at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/fijkplayer-0.10.0/
[  +10 ms] Found plugin msix at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/msix-2.4.2/
[   +2 ms] Found plugin path_provider at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider-2.0.5/
[        ] Found plugin path_provider_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_linux-2.1.0/
[        ] Found plugin path_provider_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_macos-2.0.2/
[   +1 ms] Found plugin path_provider_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/path_provider_windows-2.0.3/
[        ] Found plugin permission_handler at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/permission_handler-8.2.5/
[   +4 ms] Found plugin shared_preferences at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.0.2/
[        ] Found plugin shared_preferences_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_macos-2.0.2/
[        ] Found plugin shared_preferences_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.0.2/
[        ] Found plugin shared_preferences_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.0.2/
[   +3 ms] Found plugin url_launcher at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher-6.0.12/
[        ] Found plugin url_launcher_linux at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_linux-2.0.2/
[        ] Found plugin url_launcher_macos at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_macos-2.0.2/
[   +1 ms] Found plugin url_launcher_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_web-2.0.4/
[        ] Found plugin url_launcher_windows at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/url_launcher_windows-2.0.2/
[   +1 ms] Found plugin video_player at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/video_player-2.2.5/
[        ] Found plugin video_player_web at /usr/local/flutter/bin/cache/dart-sdk/cache/hosted/pub.flutter-io.cn/video_player_web-2.0.4/
[   +8 ms] Generating /home/moca/code/cerise/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +581 ms] 💪 Building with sound null safety 💪
[   +7 ms] Building Linux application...
[  +15 ms] executing: [build/linux/x64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/moca/code/cerise/linux
[  +59 ms] -- Configuring done
[  +12 ms] -- Generating done
[ +167 ms] -- Build files have been written to: /home/moca/code/cerise/build/linux/x64/release
[  +17 ms] executing: ninja -C build/linux/x64/release install
[  +17 ms] ninja: Entering directory `build/linux/x64/release'
[+1895 ms] [1/9] Generating /home/moca/code/cerise/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[        ] [  +56 ms] executing: uname -m
[        ] [  +27 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +4 ms] executing: [/usr/local/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 18116933e77adc82f80866c928266a5b4f1ed645
[        ] [        ] executing: [/usr/local/flutter/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] [  +11 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] [        ] 2.5.3
[        ] [   +8 ms] executing: [/usr/local/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/usr/local/flutter/] git ls-remote --get-url origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +51 ms] executing: [/usr/local/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +42 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +76 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +29 ms] Initializing file store
[        ] [  +13 ms] Done initializing file store
[        ] [  +56 ms] Skipping target: gen_localizations
[        ] [  +13 ms] Skipping target: gen_dart_plugin_registrant
[        ] [ +215 ms] Skipping target: unpack_linux
[        ] [ +532 ms] Skipping target: kernel_snapshot
[        ] [  +59 ms] Skipping target: aot_elf_release
[        ] [  +54 ms] Skipping target: linux_aot_bundle
[        ] [  +40 ms] Skipping target: release_bundle_linux-x64_assets
[        ] [        ] Persisting file store
[        ] [  +10 ms] Done persisting file store
[        ] [  +10 ms] build succeeded.
[        ] [  +11 ms] "flutter assemble" took 1,141ms.
[        ] [  +58 ms] ensureAnalyticsSent: 54ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[ +466 ms] [2/7] Building CXX object CMakeFiles/cerise.dir/flutter/generated_plugin_registrant.cc.o
[  +61 ms] [3/7] Building CXX object CMakeFiles/cerise.dir/my_application.cc.o
[+2056 ms] [4/7] Building CXX object plugins/dart_vlc/CMakeFiles/dart_vlc_plugin.dir/dart_vlc_plugin.cc.o
[        ] FAILED: plugins/dart_vlc/CMakeFiles/dart_vlc_plugin.dir/dart_vlc_plugin.cc.o 
[   +4 ms] /usr/bin/clang++  -DAPPLICATION_ID=\"com.example.cerise\" -DFLUTTER_PLUGIN_IMPL -DNDEBUG -Ddart_vlc_plugin_EXPORTS -I/home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/dartvlc -I/home/moca/code/cerise/linux/flutter/ephemeral -I/home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/dartvlc/external/libvlcpp -Idart_vlc_core_packages/vlc-3.0.9.2/sdk/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem /usr/include/fribidi -isystem /usr/include/harfbuzz -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -O3 -DNDEBUG -fPIC -fvisibility=hidden   -Wall -Werror -O3 -pthread -std=gnu++17 -MD -MT plugins/dart_vlc/CMakeFiles/dart_vlc_plugin.dir/dart_vlc_plugin.cc.o -MF plugins/dart_vlc/CMakeFiles/dart_vlc_plugin.dir/dart_vlc_plugin.cc.o.d -o plugins/dart_vlc/CMakeFiles/dart_vlc_plugin.dir/dart_vlc_plugin.cc.o -c /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[   +1 ms]   FlPixelBufferTextureClass parent_class;
[        ]   ^
[        ]                          FlPixelBufferTexture)
[        ]                          ^
[        ] G_DECLARE_DERIVABLE_TYPE(VideoOutlet, video_outlet, DART_VLC, VIDEO_OUTLET,
[        ] ^
[        ] /usr/include/glib-2.0/gobject/gtype.h:1500:3: note: expanded from macro 'G_DECLARE_DERIVABLE_TYPE'
[        ]   _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1056:65: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName))
[        ]                                                                 ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1028:49: note: expanded from macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME'
[        ] #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
[        ]                                                 ^
[        ] <scratch space>:128:1: note: expanded from here
[        ] glib_autoptr_clear_FlPixelBufferTexture
[        ] ^
[        ] /usr/include/glib-2.0/gio/gio-autocleanups.h:65:1: note: 'glib_autoptr_clear_GFileEnumerator' declared here
[        ] G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileEnumerator, g_object_unref)
[        ] ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1061:3: note: expanded from macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func)
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1044:36: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
[        ]   static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr)                     \
[        ]                                    ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1028:49: note: expanded from macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME'
[        ] #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
[        ]                                                 ^
[        ] <scratch space>:36:1: note: expanded from here
[        ] glib_autoptr_clear_GFileEnumerator
[        ] ^
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[        ]                          FlPixelBufferTexture)
[        ]                          ^
[        ] G_DECLARE_DERIVABLE_TYPE(VideoOutlet, video_outlet, DART_VLC, VIDEO_OUTLET,
[        ] ^
[        ] /usr/include/glib-2.0/gobject/gtype.h:1500:3: note: expanded from macro 'G_DECLARE_DERIVABLE_TYPE'
[        ]   _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1056:3: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName))
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1045:41: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS'
[        ]     { if (_ptr) (cleanup) ((ParentName *) _ptr); }                                                              \
[        ]                                         ^
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[        ] /usr/include/glib-2.0/gobject/gtype.h:1500:3: note: expanded from macro 'G_DECLARE_DERIVABLE_TYPE'
[        ]   _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1056:65: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName))
[        ]                                                                 ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1028:49: note: expanded from macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME'
[        ] #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
[        ]                                                 ^
[        ] <scratch space>:128:1: note: expanded from here
[        ] glib_autoptr_clear_FlPixelBufferTexture
[        ] ^
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[        ] /usr/include/glib-2.0/gobject/gtype.h:1500:3: note: expanded from macro 'G_DECLARE_DERIVABLE_TYPE'
[        ]   _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1056:65: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName))
[        ]                                                                 ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1028:49: note: expanded from macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME'
[        ] #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
[        ]                                                 ^
[        ] <scratch space>:128:1: note: expanded from here
[        ] glib_autoptr_clear_FlPixelBufferTexture
[        ] ^
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[        ] /usr/include/glib-2.0/gobject/gtype.h:1500:3: note: expanded from macro 'G_DECLARE_DERIVABLE_TYPE'
[        ]   _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
[        ]   ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1056:65: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
[        ]   _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName))
[        ]                                                                 ^
[        ] /usr/include/glib-2.0/glib/gmacros.h:1028:49: note: expanded from macro '_GLIB_AUTOPTR_CLEAR_FUNC_NAME'
[        ] #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_##TypeName
[        ]                                                 ^
[        ] <scratch space>:128:1: note: expanded from here
[        ] glib_autoptr_clear_FlPixelBufferTexture
[        ] ^
[        ] In file included from /home/moca/code/cerise/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/linux/dart_vlc_plugin.cc:15:
[        ] G_DEFINE_TYPE(VideoOutlet, video_outlet, fl_pixel_buffer_texture_get_type())
[        ]                                          ^
[        ]     FlPixelBufferTexture* texture, const uint8_t** out_buffer, uint32_t* width,
[        ]     ^
[        ]   FL_PIXEL_BUFFER_TEXTURE_CLASS(klass)->copy_pixels = video_outlet_copy_pixels;
[        ]   ^
[        ]   FlTextureRegistrar* texture_registrar;
[        ]   ^
[        ]       FL_PIXEL_BUFFER_TEXTURE_GET_CLASS(it->second)->copy_pixels =
[        ]       ^
[        ]                                             FL_TEXTURE(it->second));
[        ]                                             ^
[        ]           reinterpret_cast<int64_t>(FL_TEXTURE(it->second));
[        ]                                     ^
[        ]             texture_registrar, FL_TEXTURE(video_outlet_ptr));
[        ]                                ^
[        ]             texture_registrar, FL_TEXTURE(video_outlet_ptr));
[        ]             ^
[        ]       fl_plugin_registrar_get_texture_registrar(registrar);
[        ]       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[        ]       fl_plugin_registrar_get_messenger
[        ] /home/moca/code/cerise/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h:39:20: note: 'fl_plugin_registrar_get_messenger' declared here
[        ] FlBinaryMessenger* fl_plugin_registrar_get_messenger(
[        ]                    ^
[        ] 18 errors generated.
[        ] ninja: build stopped: subcommand failed.
[  +12 ms] Building Linux application... (completed in 4.8s)
[   +2 ms] "flutter linux" took 8,043ms.
[   +8 ms] ensureAnalyticsSent: 6ms
[   +1 ms] Running shutdown hooks
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions