terminate called after throwing an instance of 'std::runtime_error'
Roman-Dzerkal opened this issue · 1 comments
OS: Linux Ubuntu LTS 22.04.1 Jammy
Flutter 3.7.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c07f788888 (8 days ago) • 2023-02-22 17:52:33 -0600
Engine • revision 0f359063c4
Tools • Dart 2.19.2 • DevTools 2.20.1
Hello! I created a test flutter application and copied this code.
When try to run the application I get an error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Wrapping a nullptr instance
Also always get additional error:
/linux/flutter/ephemeral/.plugin_symlinks/dart_vlc/core/api/api.cc:43:48: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
face same issue resolved by this
Linux
For using this plugin on Linux, you must have VLC & libVLC installed.
On Ubuntu/Debian:
sudo apt-get install vlc
sudo apt-get install libvlc-dev
On Fedora:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install vlc
sudo dnf install vlc-devel