New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. #59750
Comments
Building for Linux requires |
Hi @stuartmorgan, I tried to install Run flutter build linux
Downloading linux-x64/linux-x64-flutter-gtk tools... 1.5s
Downloading linux-x64-profile/linux-x64-flutter-gtk tools... 0.9s
Downloading linux-x64-release/linux-x64-flutter-gtk tools... 0.5s
Building Linux application...
CMake Error at /usr/local/share/cmake-3.17/Modules/FindPkgConfig.cmake:467 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/share/cmake-3.17/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
flutter/CMakeLists.txt:24 (pkg_check_modules)
Unable to generate build files
##[error]Process completed with exit code 1.
Any ideas about this problem? |
This is why |
Finally, I can add a step like the following to make it work for linux package.
|
Yea I ran into same issue when trying to set up flutter for Linux desktop. Thanks to
You'd get other similar errors and |
Always remember |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
Expected results:
Linux build successfully.
Actual results:
Linux build failed.
Logs
The text was updated successfully, but these errors were encountered: