-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[Bug] Windows Build Failed #210
Comments
Hi @wuzirui ! Thank you for that bug report. There was a script file missing in the Windows build. I added it. Can you please update your repository and try again? |
I also got the same error. |
Did you get the latest version of the code? I just added a fix to this problem. |
|
You need to execute frontend\scripts\generate_language_files.cmd to generate file 'lib/generated/locale_keys.g.dart'. |
Thanks a lot, I can compile successfully. Is this step necessary? If yes, it is suggested that an explanation of this step can be added in "BUILD_ON_WINDOWS.md". |
This step should execute automatically when you compile. I will install a Windows VM and do some testing. |
I've been looking at this for 2 days now and still can't find an answer. The code is there to make this work, but somehow the cargo-make framework just isn't running it. I have posted a question on stackoverflow, hopefully someone will come back with an answer. I have also posted an issue on the Cargo-Make project. We'll just have to wait and see... |
hello, Mac os have the same problem, when run the below scripts: sh ../scripts/generate_language_files.sh It goes well! |
windows 11
See, we already have the locale_keys.g.dart file. |
…rust-s3 fix: turn on ssl features for rust-s3
Describe the bug
build failure on Windows 11
To Reproduce
Steps to reproduce the behavior:
follow BUILD_ON_WINDOWS.md
build log:
in which "绯荤粺鎵句笉鍒版寚瀹氱殑璺緞銆? " probably means that it cannot find the file "flutter_assemble.vcxproj"
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\wuzirui.rustup
installed toolchains
stable-x86_64-pc-windows-msvc
nightly-2021-04-24-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc (default)
active toolchain
nightly-x86_64-pc-windows-msvc (default)
rustc 1.59.0-nightly (399ba6bb3 2022-01-03)
[✓] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.376], locale zh-CN)
• Flutter version 2.8.1 at C:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\wuzirui\AppData\Local\Android\Sdk
• Platform android-31, build-tools 31.0.0
• ANDROID_HOME = C:\Users\wuzirui\AppData\Local\Android\Sdk
• Java binary at: C:\Users\wuzirui\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7784292\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.4)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32014.148
• Windows 10 SDK version 10.0.19041.0
[✓] Android Studio (version 2020.3)
• Android Studio at C:\Users\wuzirui\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7784292
• 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.10+0-b96-7249189)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
• IntelliJ at C:\Users\wuzirui\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\212.5457.46
• Flutter plugin installed
• Dart plugin version 212.5632
[✓] VS Code (version 1.63.2)
• VS Code at C:\Users\wuzirui\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.32.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.376]
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
• Edge (web) • edge • web-javascript • Microsoft Edge 96.0.1054.62
• No issues found!
The text was updated successfully, but these errors were encountered: