FirebaseExtended / flutterfire_desktop

An early-stage, experimental pure-Dart implementation of Firebase SDKs.
Other
405 stars 58 forks source link

🐛 Error when building linux application #108

Open Youcef-Goudjal opened 1 year ago

Youcef-Goudjal commented 1 year ago

flutter run -d Linux

Running "flutter pub get" in ...
Launching lib/main.dart on Linux in debug mode... CMake Error at /snap/flutter/126/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message): A required package was not found Call Stack (most recent call first): /snap/flutter/126/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal) flutter/ephemeral/.plugin_symlinks/desktop_webview_auth/linux/CMakeLists.txt:21 (pkg_check_modules)

Building Linux application...
Exception: Unable to generate build files

borisgrigorov commented 1 year ago

Happens to me as well.

IniyanKanmani commented 1 year ago

Check this out https://stackoverflow.com/questions/73913474/cmake-error-at-snap-flutter-126-usr-share-cmake-3-10-modules-findpkgconfig-cmak

borisgrigorov commented 1 year ago

For me, I had to install webkit2gtkpackage.

For example on Arch linux: yay -S webkit2gtk