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

Cannot build native_pdf_view for windows #289

Open
artnavsegda opened this issue Apr 14, 2022 · 4 comments
Open

Cannot build native_pdf_view for windows #289

artnavsegda opened this issue Apr 14, 2022 · 4 comments

Comments

@artnavsegda
Copy link

'flutter build windows -v' fails with output:

[ +6 ms] Building Windows application...
[ +16 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S
C:\Users\Art Navsegda\Documents\GitHub\flutternavsegda\charts\windows -B build\windows -G Visual Studio 17 2022
[ +54 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
[+1178 ms] -- The CXX compiler identification is MSVC 19.31.31106.2
[ +55 ms] -- Detecting CXX compiler ABI info
[ +693 ms] -- Detecting CXX compiler ABI info - done
[ +2 ms] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe -
skipped
[ ] -- Detecting CXX compile features
[ +1 ms] -- Detecting CXX compile features - done
[ +16 ms] -- Downloading/updating pdfium
[ +33 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
[ +410 ms] -- Configuring done
[ +41 ms] -- Generating done
[ +9 ms] -- Build files have been written to: C:/Users/Art Navsegda/Documents/GitHub/flutternavsegda/charts/build/windows/pdfium-download
[ +92 ms] Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET Framework
[ ] Copyright (C) Microsoft Corporation. All rights reserved.
[ +295 ms] Checking Build System
[ +134 ms] Creating directories for 'pdfium-download'
[ +134 ms] Building Custom Rule C:/Users/Art Navsegda/Documents/GitHub/flutternavsegda/charts/build/windows/pdfium-download/CMakeLists.txt
[ +23 ms] Performing download step (download, verify and extract) for 'pdfium-download'
[ +17 ms] -- Downloading...
[ ] dst='C:/Users/Art
Navsegda/Documents/GitHub/flutternavsegda/charts/build/windows/pdfium-download/pdfium-download-prefix/src/pdfium-windows-x64.zip'
[ +1 ms] timeout='none'
[ ] inactivity timeout='none'
[ ] -- Using src='https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4638/pdfium-windows-x64.zip'
[ +166 ms] CMake Error at pdfium-download/pdfium-download-prefix/src/pdfium-download-stamp/download-pdfium-download.cmake:170 (message):
[ ] Each download failed!
[ +5 ms] CUSTOMBUILD : error : downloading 'https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4638/pdfium-windows-x64.zip'
failed [C:\Users\Art Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\pdfium-download.vcxproj]
[ ] status_code: 22
[ ] status_string: "HTTP response code said error"
[ ] log:
[ ] --- LOG BEGIN ---
[ ] timeout on name lookup is not supported
[ ] Trying 140.82.121.4:443...
[ ] Connected to github.com (140.82.121.4) port 443 (#0)
[ ] schannel: disabled automatic use of client certificate
[ ] schannel: ALPN, offering h2
[ ] schannel: ALPN, offering http/1.1
[ ] schannel: ALPN, server accepted to use h2
[ ] Using HTTP2, server supports multiplexing
[ ] Connection state changed (HTTP/2 confirmed)
[ ] Copying HTTP/2 data in stream buffer to connection buffer after upgrade:
[ ] len=0
[ ] Using Stream ID: 1 (easy handle 0x2335c537470)
[ ] GET
[ ] /bblanchon/pdfium-binaries/releases/download/chromium/4638/pdfium-windows-x64.zip
[ ] HTTP/2
[ ] Host: github.com
[ ] user-agent: curl/7.79.1
[ ] accept: /
[ ] HTTP/2 404
[ ] server: GitHub.com
[ ] date: Thu, 14 Apr 2022 12:26:48 GMT
[ ] content-type: text/plain; charset=utf-8
[ ] vary: X-PJAX, X-PJAX-Container, Accept-Encoding, Accept, X-Requested-With
[ ] permissions-policy: interest-cohort=()
[ ] cache-control: no-cache
[ ] strict-transport-security: max-age=31536000; includeSubdomains; preload
[ ] x-frame-options: deny
[ ] x-content-type-options: nosniff
[ ] x-xss-protection: 0
[ ] referrer-policy: no-referrer-when-downgrade
[ ] expect-ct: max-age=2592000,
[ ] report-uri="https://api.github.com/_private/browser/errors"
[ ] content-security-policy: default-src 'none'; base-uri 'self'; connect-src
[ ] 'self'; form-action 'self'; img-src 'self' data:; script-src 'self';
[ ] style-src 'unsafe-inline'
[ ] content-length: 9
[ ] x-github-request-id: CA82:80C2:BBF1:F3DD9:62581327
[ ] CUSTOMBUILD : The requested URL returned error : 404 [C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\pdfium-download.vcxproj]
[ ] stopped the pause stream!
[ ] Connection #0 to host github.com left intact
[ ] --- LOG END ---
[ ] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(245,5): error MSB8066: Custom
build for 'C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-mkdir.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-download.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-update.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-patch.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-configure.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-build.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-install.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\b52f9704fe387c0820be772237b3767d\pdfium-download-test.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\7b6ce0ad031778709e3a1066c14d5717\pdfium-download-complete.rule;C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeFiles\eea0765083cbb54ee3c1c0701ce13824\pdfium-download.rule;C:\Users\Art Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\CMakeLists.txt' exited with code 1. [C:\Users\Art
Navsegda\Documents\GitHub\flutternavsegda\charts\build\windows\pdfium-download\pdfium-download.vcxproj]
[ +27 ms] CMake Error at flutter/ephemeral/.plugin_symlinks/pdfx/windows/DownloadProject.cmake:179 (message):
[ +2 ms] Build step for pdfium failed: 1
[ ] Call Stack (most recent call first):
[ ] flutter/ephemeral/.plugin_symlinks/pdfx/windows/CMakeLists.txt:16 (download_project)
[ ] -- Configuring incomplete, errors occurred!
[ ] See also "C:/Users/Art Navsegda/Documents/GitHub/flutternavsegda/charts/build/windows/CMakeFiles/CMakeOutput.log".
[ +12 ms] Building Windows application... (completed in 3.4s)
[ +1 ms] "flutter windows" took 3,945ms.
[ +3 ms] Unable to generate build files
[ +1 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 _runCmakeGeneration (package:flutter_tools/src/windows/build_windows.dart:272:5)

#2 buildWindows (package:flutter_tools/src/windows/build_windows.dart:71:5)

#3 BuildWindowsCommand.runCommand (package:flutter_tools/src/commands/build_windows.dart:57:5)

#4 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)

#5 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#6 CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#7 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#8 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#9 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#10 run.. (package:flutter_tools/runner.dart:62:9)

#11 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#12 main (package:flutter_tools/executable.dart:94:3)

[ +15 ms] ensureAnalyticsSent: 11ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ +1 ms] exiting with code 1
PS C:\Users\Art Navsegda\Documents\GitHub\flutternavsegda\charts> open C:/Users/Art Navsegda/Documents/GitHub/flutternavsegda/charts/build/windows/CMakeFiles/CMakeOutput.log
open : The term 'open' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1

  • open C:/Users/Art Navsegda/Documents/GitHub/flutternavsegda/charts/bu ...
  •   + CategoryInfo          : ObjectNotFound: (open:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

'flutter doctor -v' output is:

flutter doctor -v
[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.22000.613], locale en-US)
• Flutter version 2.10.4 at C:\tools\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c860cba910 (3 weeks ago), 2022-03-25 00:23:12 -0500
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\Art Navsegda\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.4)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.1.32407.343
• Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.66.2)
• VS Code at C:\Users\Art Navsegda\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.38.1

[√] Connected device (1 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.613]

[√] HTTP Host Availability
• All required HTTP hosts are available

• No issues found!

@hillelcoren
Copy link

The build appears to be failing because it can't download: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4638/pdfium-windows-x64.zip

Which version do you have set in CMakeLists.txt?

We're using:

set(PDFIUM_VERSION "4634" CACHE STRING "")

Side note.. is it possible to update to the latest version?

@Athu135
Copy link

Athu135 commented Apr 18, 2022

For me Changing The CmakeLists.txt helped

just change from:
set(PDFIUM_VERSION "4634" CACHE STRING "Version of pdfium used");

to:
set(PDFIUM_VERSION "4634" CACHE STRING "");

and the run flutter clean

@Ronjack
Copy link

Ronjack commented May 18, 2022

For me Changing The CmakeLists.txt helped

just change from: set(PDFIUM_VERSION "4634" CACHE STRING "Version of pdfium used");

to: set(PDFIUM_VERSION "4634" CACHE STRING "");

and the run flutter clean

which pdfx version do you use?

I am using pdfx: ^2.0.1+2 and pdf: ^3.8.0

changing my pfdium version doesnt help and it tried several versions

maybe I overlook something

[ +62 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +403 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] ee4e09cce01d6f2d7f4baebd247fde02e5008851
[ ] executing: [D:\flutter/] git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[ +55 ms] Exit code 0 from: git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[ ] 3.0.0
[ +6 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [D:\flutter/] git ls-remote --get-url origin
[ +41 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +102 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[ +42 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +39 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +50 ms] Initializing file store
[ +2 ms] Done initializing file store
[ +21 ms] Skipping target: gen_localizations
[ +1 ms] Persisting file store
[ +5 ms] Done persisting file store
[ +8 ms] Skipping pub get: version match.
[ +38 ms] Found plugin audio_session at D:\flutter.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1
[ +16 ms] Found plugin connectivity_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus-2.3.0
[ +2 ms] Found plugin connectivity_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_linux-1.3.0
[ +1 ms] Found plugin connectivity_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_macos-1.2.2
[ +2 ms] Found plugin connectivity_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_web-1.2.0
[ +1 ms] Found plugin connectivity_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_windows-1.2.0
[ +8 ms] Found plugin device_info_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus-3.2.3
[ +2 ms] Found plugin device_info_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_linux-2.1.1
[ +1 ms] Found plugin device_info_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_macos-2.2.3
[ +2 ms] Found plugin device_info_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_web-2.1.0
[ +1 ms] Found plugin device_info_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_windows-2.1.1
[ +11 ms] Found plugin file_picker at D:\flutter.pub-cache\hosted\pub.dartlang.org\file_picker-4.5.1
[ +4 ms] Found plugin flutter_barcode_scanner at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-2.0.0
[ +12 ms] Found plugin flutter_plugin_android_lifecycle at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.6
[ +13 ms] Found plugin just_audio at D:\flutter.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.21
[ +4 ms] Found plugin just_audio_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.7
[ +14 ms] Found plugin package_info_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.4.2
[ +5 ms] Found plugin package_info_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_linux-1.0.5
[ +2 ms] Found plugin package_info_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.3.0
[ +3 ms] Found plugin package_info_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.5
[ +2 ms] Found plugin package_info_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_windows-1.0.5
[ +4 ms] Found plugin path_provider at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.10
[ +1 ms] Found plugin path_provider_android at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.14
[ +1 ms] Found plugin path_provider_ios at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.9
[ +1 ms] Found plugin path_provider_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.6
[ +1 ms] Found plugin path_provider_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.6
[ +1 ms] Found plugin path_provider_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.6
[ +3 ms] Found plugin pdfx at D:\flutter.pub-cache\hosted\pub.dartlang.org\pdfx-2.0.1+2
[ +5 ms] Found plugin printing at D:\flutter.pub-cache\hosted\pub.dartlang.org\printing-5.9.0
[ +6 ms] Found plugin sensors at D:\flutter.pub-cache\hosted\pub.dartlang.org\sensors-2.0.3
[ +2 ms] Found plugin shared_preferences at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.7+3
[ +1 ms] Found plugin shared_preferences_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11
[ +1 ms] Found plugin shared_preferences_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[ +2 ms] Found plugin sqflite at D:\flutter.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.2+1
[ +2 ms] Found plugin sqlite3_flutter_libs at D:\flutter.pub-cache\hosted\pub.dartlang.org\sqlite3_flutter_libs-0.5.7
[ +4 ms] Found plugin url_launcher at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher-6.1.2
[ +1 ms] Found plugin url_launcher_android at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_android-6.0.17
[ ] Found plugin url_launcher_ios at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_ios-6.0.16
[ ] Found plugin url_launcher_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-3.0.1
[ +1 ms] Found plugin url_launcher_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-3.0.1
[ +1 ms] Found plugin url_launcher_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.11
[ +1 ms] Found plugin url_launcher_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-3.0.1
[ +40 ms] Found plugin audio_session at D:\flutter.pub-cache\hosted\pub.dartlang.org\audio_session-0.1.6+1
[ +6 ms] Found plugin connectivity_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus-2.3.0
[ +1 ms] Found plugin connectivity_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_linux-1.3.0
[ +1 ms] Found plugin connectivity_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_macos-1.2.2
[ +1 ms] Found plugin connectivity_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_web-1.2.0
[ ] Found plugin connectivity_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\connectivity_plus_windows-1.2.0
[ +3 ms] Found plugin device_info_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus-3.2.3
[ +2 ms] Found plugin device_info_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_linux-2.1.1
[ +1 ms] Found plugin device_info_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_macos-2.2.3
[ +1 ms] Found plugin device_info_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_web-2.1.0
[ ] Found plugin device_info_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\device_info_plus_windows-2.1.1
[ +4 ms] Found plugin file_picker at D:\flutter.pub-cache\hosted\pub.dartlang.org\file_picker-4.5.1
[ +1 ms] Found plugin flutter_barcode_scanner at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-2.0.0
[ +3 ms] Found plugin flutter_plugin_android_lifecycle at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.6
[ +5 ms] Found plugin just_audio at D:\flutter.pub-cache\hosted\pub.dartlang.org\just_audio-0.9.21
[ +1 ms] Found plugin just_audio_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\just_audio_web-0.4.7
[ +4 ms] Found plugin package_info_plus at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus-1.4.2
[ +1 ms] Found plugin package_info_plus_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_linux-1.0.5
[ +1 ms] Found plugin package_info_plus_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_macos-1.3.0
[ +1 ms] Found plugin package_info_plus_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_web-1.0.5
[ ] Found plugin package_info_plus_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\package_info_plus_windows-1.0.5
[ +1 ms] Found plugin path_provider at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.10
[ ] Found plugin path_provider_android at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_android-2.0.14
[ ] Found plugin path_provider_ios at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_ios-2.0.9
[ ] Found plugin path_provider_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.1.6
[ ] Found plugin path_provider_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.6
[ ] Found plugin path_provider_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.6
[ ] Found plugin pdfx at D:\flutter.pub-cache\hosted\pub.dartlang.org\pdfx-2.0.1+2
[ +2 ms] Found plugin printing at D:\flutter.pub-cache\hosted\pub.dartlang.org\printing-5.9.0
[ +5 ms] Found plugin sensors at D:\flutter.pub-cache\hosted\pub.dartlang.org\sensors-2.0.3
[ +1 ms] Found plugin shared_preferences at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences-0.5.7+3
[ ] Found plugin shared_preferences_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11
[ +1 ms] Found plugin shared_preferences_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[ +1 ms] Found plugin sqflite at D:\flutter.pub-cache\hosted\pub.dartlang.org\sqflite-2.0.2+1
[ +1 ms] Found plugin sqlite3_flutter_libs at D:\flutter.pub-cache\hosted\pub.dartlang.org\sqlite3_flutter_libs-0.5.7
[ +2 ms] Found plugin url_launcher at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher-6.1.2
[ ] Found plugin url_launcher_android at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_android-6.0.17
[ ] Found plugin url_launcher_ios at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_ios-6.0.16
[ ] Found plugin url_launcher_linux at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-3.0.1
[ ] Found plugin url_launcher_macos at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-3.0.1
[ +1 ms] Found plugin url_launcher_web at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_web-2.0.11
[ ] Found plugin url_launcher_windows at D:\flutter.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-3.0.1
[ +51 ms] Generating D:\git\flutter\flutter\X123\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +64 ms] Building without sound null safety
[ ] For more information see https://dart.dev/null-safety/unsound-null-safety
[ +12 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[ +31 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[ ] [
{
"instanceId": "23717385",
"installDate": "2021-10-07T08:06:04Z",
"installationName": "VisualStudio/16.11.10+32126.315",
"installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community",
"installationVersion": "16.11.32126.315",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Leistungsstarke IDE, kostenlos für Studenten, Open-Source-Mitwirkende und Einzelpersonen",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
"releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.11#16.11.10",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2022-02-10T07:41:45.3661463Z",
"catalog": {
"buildBranch": "d16.11",
"buildVersion": "16.11.32126.315",
"id": "VisualStudio/16.11.10+32126.315",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.11.10",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "10",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.11.10+32126.315",
"requiredEngineVersion": "2.11.52.58712"
},
"properties": {
"campaignId": "3",
"canceled": "0",
"channelManifestId": "VisualStudio.16.Release/16.11.10+32126.315",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
}
}
]
[ +4 ms] Building Windows application...
[ +15 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S D:\git\flutter\flutter\X123\windows -B build\windows -G Visual Studio 16 2019
[ +47 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
[+1058 ms] -- The CXX compiler identification is MSVC 19.29.30140.0
[ +68 ms] -- Detecting CXX compiler ABI info
[ +602 ms] -- Detecting CXX compiler ABI info - done
[ +2 ms] -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
[ ] -- Detecting CXX compile features
[ +1 ms] -- Detecting CXX compile features - done
[ +12 ms] -- Downloading/updating pdfium
[ +27 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
[ +387 ms] -- Configuring done
[ +22 ms] -- Generating done
[ +2 ms] -- Build files have been written to: D:/git/flutter/flutter/X123/build/windows/pdfium-download
[ +113 ms] Microsoft (R)-Build-Engine, Version 16.11.2+f32259642 für .NET Framework
[ ] Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
[ +279 ms] Checking Build System
[ +122 ms] Creating directories for 'pdfium-download'
[ +103 ms] Performing download step (download, verify and extract) for 'pdfium-download'
[ +12 ms] -- Downloading...
[ ] dst='D:/git/flutter/flutter/X123/build/windows/pdfium-download/pdfium-download-prefix/src/pdfium-windows-x64.zip'
[ ] timeout='none'
[ ] inactivity timeout='none'
[ ] -- Using src='https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4634/pdfium-windows-x64.zip'
[ +519 ms] -- [download 0% complete]
[ +1 ms] -- [download 1% complete]
[ +2 ms] -- [download 2% complete]
[ +10 ms] -- [download 3% complete]
[ +3 ms] -- [download 4% complete]
[ +1 ms] -- [download 5% complete]
[ +6 ms] -- [download 6% complete]
[ +1 ms] -- [download 7% complete]
[ +2 ms] -- [download 8% complete]
[ +1 ms] -- [download 9% complete]
[ +2 ms] -- [download 10% complete]
[ +18 ms] -- [download 11% complete]
[ +1 ms] -- [download 14% complete]
[ +3 ms] -- [download 16% complete]
[ +1 ms] -- [download 17% complete]
[ ] -- [download 18% complete]
[ +1 ms] -- [download 19% complete]
[ ] -- [download 20% complete]
[ +1 ms] -- [download 21% complete]
[ +1 ms] -- [download 22% complete]
[ +2 ms] -- [download 23% complete]
[ +1 ms] -- [download 24% complete]
[ +2 ms] -- [download 25% complete]
[ +1 ms] -- [download 26% complete]
[ +20 ms] -- [download 31% complete]
[ +3 ms] -- [download 32% complete]
[ +3 ms] -- [download 33% complete]
[ +1 ms] -- [download 34% complete]
[ +1 ms] -- [download 35% complete]
[ +4 ms] -- [download 36% complete]
[ +1 ms] -- [download 37% complete]
[ +2 ms] -- [download 38% complete]
[ +3 ms] -- [download 39% complete]
[ +1 ms] -- [download 40% complete]
[ +3 ms] -- [download 41% complete]
[ ] -- [download 42% complete]
[ +4 ms] -- [download 43% complete]
[ +2 ms] -- [download 44% complete]
[ +3 ms] -- [download 45% complete]
[ +1 ms] -- [download 46% complete]
[ +2 ms] -- [download 47% complete]
[ +1 ms] -- [download 48% complete]
[ +1 ms] -- [download 49% complete]
[ +2 ms] -- [download 50% complete]
[ +2 ms] -- [download 51% complete]
[ +2 ms] -- [download 52% complete]
[ +2 ms] -- [download 53% complete]
[ +1 ms] -- [download 54% complete]
[ +3 ms] -- [download 55% complete]
[ +1 ms] -- [download 56% complete]
[ +16 ms] -- [download 57% complete]
[ +4 ms] -- [download 58% complete]
[ +1 ms] -- [download 59% complete]
[ +2 ms] -- [download 60% complete]
[ +16 ms] -- [download 61% complete]
[ +1 ms] -- [download 67% complete]
[ +1 ms] -- [download 68% complete]
[ +3 ms] -- [download 69% complete]
[ +4 ms] -- [download 70% complete]
[ +2 ms] -- [download 71% complete]
[ +1 ms] -- [download 72% complete]
[ +4 ms] -- [download 73% complete]
[ +3 ms] -- [download 74% complete]
[ +3 ms] -- [download 75% complete]
[ +2 ms] -- [download 76% complete]
[ +2 ms] -- [download 77% complete]
[ +2 ms] -- [download 78% complete]
[ +3 ms] -- [download 79% complete]
[ +3 ms] -- [download 80% complete]
[ +2 ms] -- [download 81% complete]
[ +4 ms] -- [download 82% complete]
[ +1 ms] -- [download 83% complete]
[ +4 ms] -- [download 84% complete]
[ +1 ms] -- [download 85% complete]
[ +3 ms] -- [download 86% complete]
[ +3 ms] -- [download 87% complete]
[ +2 ms] -- [download 88% complete]
[ +2 ms] -- [download 89% complete]
[ +4 ms] -- [download 90% complete]
[ +1 ms] -- [download 91% complete]
[ +4 ms] -- [download 92% complete]
[ +1 ms] -- [download 93% complete]
[ +4 ms] -- [download 94% complete]
[ +2 ms] -- [download 95% complete]
[ +4 ms] -- [download 96% complete]
[ +1 ms] -- [download 97% complete]
[ +4 ms] -- [download 98% complete]
[ +1 ms] -- [download 99% complete]
[ +5 ms] -- [download 100% complete]
[ +1 ms] -- Downloading... done
[ +46 ms] -- extracting...
[ ] src='D:/git/flutter/flutter/X123/build/windows/pdfium-download/pdfium-download-prefix/src/pdfium-windows-x64.zip'
[ ] dst='D:/git/flutter/flutter/X123/build/windows/pdfium-src'
[ ] -- extracting... [tar xfz]
[ +156 ms] -- extracting... [analysis]
[ ] -- extracting... [rename]
[ ] -- extracting... [clean up]
[ ] -- extracting... done
[ +18 ms] No update step for 'pdfium-download'
[ +30 ms] No patch step for 'pdfium-download'
[ +34 ms] No configure step for 'pdfium-download'
[ +33 ms] No build step for 'pdfium-download'
[ +34 ms] No install step for 'pdfium-download'
[ +32 ms] No test step for 'pdfium-download'
[ +34 ms] Completed 'pdfium-download'
[ +77 ms] Building Custom Rule D:/git/flutter/flutter/X123/build/windows/pdfium-download/CMakeLists.txt
[ +57 ms] Building Custom Rule D:/git/flutter/flutter/X123/build/windows/pdfium-download/CMakeLists.txt
[ +55 ms] -- Found PDFium: D:/git/flutter/flutter/X123/build/windows/pdfium-src/x64/bin/pdfium.dll
[ +2 ms] -- Downloading/updating pdfium
[ +27 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
[ +376 ms] -- Configuring done
[ +70 ms] -- Generating done
[ +2 ms] -- Build files have been written to: D:/git/flutter/flutter/X123/build/windows/pdfium-download
[ +108 ms] Microsoft (R)-Build-Engine, Version 16.11.2+f32259642 für .NET Framework
[ +1 ms] Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
[ +368 ms] Performing download step (download, verify and extract) for 'pdfium-download'
[ +13 ms] -- Downloading...
[ ] dst='D:/git/flutter/flutter/X123/build/windows/pdfium-download/pdfium-download-prefix/src/pdfium-win-x64.tgz'
[ ] timeout='none'
[ ] inactivity timeout='none'
[ ] -- Using src='https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4634/pdfium-win-x64.tgz'
[ +208 ms] -- [download 0% complete]
[ ] CMake Error at pdfium-download/pdfium-download-prefix/src/pdfium-download-stamp/download-pdfium-download.cmake:170 (message):
[ ] Each download failed!
[ +3 ms] CUSTOMBUILD : error : downloading 'https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/4634/pdfium-win-x64.tgz' failed [D:\git\flutter\flutter\X123\build\windows\pdfium-download\pdfium-download.vcxproj]
[ ] status_code: 22
[ ] status_string: "HTTP response code said error"
[ ] log:
[ ] --- LOG BEGIN ---
[ ] Uses proxy env variable no_proxy == 'localhost,127.0.0.1,::1'
[ ] timeout on name lookup is not supported
[ ] Trying 140.82.121.4:443...
[ ] Connected to github.com (140.82.121.4) port 443 (#0)
[ ] schannel: ALPN, offering h2
[ ] schannel: ALPN, offering http/1.1
[ ] schannel: ALPN, server accepted to use h2
[ ] Using HTTP2, server supports multi-use
[ ] Connection state changed (HTTP/2 confirmed)
[ ] Copying HTTP/2 data in stream buffer to connection buffer after upgrade:
[ ] len=0
[ ] Using Stream ID: 1 (easy handle 0x1f26965adc0)
[ ] GET
[ ] /bblanchon/pdfium-binaries/releases/download/chromium/4634/pdfium-win-x64.tgz
[ ] HTTP/2
[ ] Host: github.com
[ ] user-agent: curl/7.75.0
[ ] accept: /
[ ] Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
[ ] HTTP/2 404
[ ] server: GitHub.com
[ ] date: Wed, 18 May 2022 07:53:13 GMT
[ ] content-type: text/plain; charset=utf-8
[ ] vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding,
[ ] Accept, X-Requested-With
[ ] permissions-policy: interest-cohort=()
[ ] cache-control: no-cache
[ ] strict-transport-security: max-age=31536000; includeSubdomains; preload
[ ] x-frame-options: deny
[ ] x-content-type-options: nosniff
[ ] x-xss-protection: 0
[ ] referrer-policy: no-referrer-when-downgrade
[ ] expect-ct: max-age=2592000,
[ ] report-uri="https://api.github.com/_private/browser/errors"
[ ] content-security-policy: default-src 'none'; base-uri 'self'; connect-src
[ ] 'self'; form-action 'self'; img-src 'self' data:; script-src 'self';
[ ] style-src 'unsafe-inline'
[ ] content-length: 9
[ ] x-github-request-id: FFF5:FAC1:98656:9F0E1:6284A5E9
[ ] CUSTOMBUILD : The requested URL returned error : 404 [D:\git\flutter\flutter\X123\build\windows\pdfium-download\pdfium-download.vcxproj]
[ ] stopped the pause stream!
[ ] Connection #0 to host github.com left intact
[ ] --- LOG END ---
[ ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Der benutzerdefinierte Build für
"D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-download.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-update.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-patch.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-configure.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-build.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-install.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\180ee1a662b17254806c5ec3baa269a9\pdfium-download-test.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\f71a0473d25fa5b04c3f0f1b1ea27d7c\pdfium-download-complete.rule;D:\git\flutter\flutter\X123\build\windows\pdfium-download\CMakeFiles\750ecbd4e01480fc47fcbcf5c2772129\pdfium-download.rule" wurde mit dem Code 1 beendet. [D:\git\flutter\flutter\X123\build\windows\pdfium-download\pdfium-download.vcxproj]
[ +11 ms] CMake Error at flutter/ephemeral/.plugin_symlinks/printing/windows/DownloadProject.cmake:179 (message):
[ +1 ms] Build step for pdfium failed: 1
[ ] Call Stack (most recent call first):
[ ] flutter/ephemeral/.plugin_symlinks/printing/windows/CMakeLists.txt:36 (download_project)
[ ] -- Configuring incomplete, errors occurred!
[ ] See also "D:/git/flutter/flutter/X123/build/windows/CMakeFiles/CMakeOutput.log".
[ +12 ms] Building Windows application... (completed in 5,5s)
[ +1 ms] "flutter windows" took 6.188ms.
[ +4 ms] Unable to generate build files
[ ]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 _runCmakeGeneration (package:flutter_tools/src/windows/build_windows.dart:272:5)

#2 buildWindows (package:flutter_tools/src/windows/build_windows.dart:71:5)

#3 BuildWindowsCommand.runCommand (package:flutter_tools/src/commands/build_windows.dart:55:5)

#4 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1183:27)

#5 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#6 CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#7 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#8 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#9 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#10 run.. (package:flutter_tools/runner.dart:62:9)

#11 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#12 main (package:flutter_tools/executable.dart:94:3)

@Ronjack
Copy link

Ronjack commented May 20, 2022

fixed by using version 4874 and placing the set pdfium to the start of the cmakelists.txt.

set(PDFIUM_VERSION "4874" CACHE STRING "")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants