Skip to content
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

Error: Unable to generate build files for Windows Flutter app #522

Open
devlprRohit opened this issue Jul 29, 2024 · 0 comments
Open

Error: Unable to generate build files for Windows Flutter app #522

devlprRohit opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@devlprRohit
Copy link

Expected Behavior:
Successful build and launch of the Flutter app on Windows.

Actual Behavior:
The build process fails with the following error:

Launching lib\main.dart on Windows in debug mode...
Building Windows application...
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/ExternalProject.cmake:2771  
(message):
 At least one entry of URL is a path (invalid in a list)
Call Stack (most recent call first):
 C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/ExternalProject.cmake:3681  
(_ep_add_download_command)
 CMakeLists.txt:9 (ExternalProject_Add)

CMake Error at flutter/ephemeral/.plugin_symlinks/pdfx/windows/DownloadProject.cmake:171 (message):
 CMake step for pdfium failed: 1
Call Stack (most recent call first):
 flutter/ephemeral/.plugin_symlinks/pdfx/windows/CMakeLists.txt:20 (download_project)

Error: Unable to generate build files

VERSIONS:-

Windows 11

Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (8 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3

i did run the command: flutter pub run pdfx:install_windows

@devlprRohit devlprRohit added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants