π Error when building linux application
Youcef-Goudjal opened this issue Β· comments
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
Happens to me as well.
For me, I had to install webkit2gtk
package.
For example on Arch linux: yay -S webkit2gtk