antler119 / system_tray

A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.
MIT License
214 stars 51 forks source link

Exception: Unable to generate build files #17

Closed kherldhussein closed 2 years ago

kherldhussein commented 2 years ago

Tried to run example given on Ubuntu 20.04. result CMake Error at /snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message): A required package was not found Call Stack (most recent call first): /snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal) flutter/ephemeral/.plugin_symlinks/system_tray/linux/CMakeLists.txt:10 (pkg_check_modules)

valebot commented 2 years ago

I had a similar problem. For me was that I didn't install the following packages:

sudo apt-get install appindicator3-0.1 libappindicator3-dev

I discovered that by executing flutter run with --verbose flag.