You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/264] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\app_snapshot.cc.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 229, in
main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 211, in main
main2(libapp_file, libflutter_file, outdir, rebuild_blutter, create_vs_sln, no_analysis)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 202, in main2
build_and_run(input)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 168, in build_and_run
fetch_and_build(input.dart_info)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 135, in fetch_and_build
cmake_dart(info, outdir)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 130, in cmake_dart
subprocess.run([NINJA_CMD], cwd=builddir, check=True)
File "E:\anacondahome\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
Try Manually Ninja Bulid:
cd \build\dartvm3.5.4_android_arm64 and exectue ninja.
Process Output:
[1/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\dart_api_state.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[8/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\isolate.cc.obj
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
My Environment: Python 3.12.3 + Visual Studio 2019
python blutter.py ./arm64 ./output -- ./arm64 contains libapp.so and libflutter.so
All Process Output:
Dart version: 3.5.4, Snapshot: 80a49c7111088100a233b2ae788e1f48, Target: android arm64
flags: product no-code_comments dwarf_stack_traces_mode dedup_instructions no-tsan no-msan arm64 android compressed-pointers
Cloning into 'C:\Users\cpp\Desktop\ftdcp\blutterhome\dartsdk\v3.5.4'...
remote: Enumerating objects: 2434, done.
remote: Counting objects: 100% (2434/2434), done.
remote: Compressing objects: 100% (1965/1965), done.
remote: Total 2434 (delta 40), reused 1399 (delta 29), pack-reused 0 (from 0)
Receiving objects: 100% (2434/2434), 1.29 MiB | 4.54 MiB/s, done.
Resolving deltas: 100% (40/40), done.
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 0), reused 7 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (24/24), 147.04 KiB | 63.00 KiB/s, done.
Updating files: 100% (24/24), done.
remote: Enumerating objects: 2884, done.
remote: Counting objects: 100% (2884/2884), done.
remote: Compressing objects: 100% (2406/2406), done.
remote: Total 2884 (delta 527), reused 1218 (delta 435), pack-reused 0 (from 0)
Receiving objects: 100% (2884/2884), 8.54 MiB | 84.00 KiB/s, done.
Resolving deltas: 100% (527/527), done.
Updating files: 100% (3261/3261), done.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/cpp/Desktop/ftdcp/blutterhome/build/dartvm3.5.4_android_arm64
[1/264] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/264] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\app_snapshot.cc.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 229, in
main(args.indir, args.outdir, args.rebuild, args.vs_sln, args.no_analysis)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 211, in main
main2(libapp_file, libflutter_file, outdir, rebuild_blutter, create_vs_sln, no_analysis)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 202, in main2
build_and_run(input)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\blutter.py", line 168, in build_and_run
fetch_and_build(input.dart_info)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 135, in fetch_and_build
cmake_dart(info, outdir)
File "C:\Users\cpp\Desktop\ftdcp\blutterhome\dartvm_fetch_build.py", line 130, in cmake_dart
subprocess.run([NINJA_CMD], cwd=builddir, check=True)
File "E:\anacondahome\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
Try Manually Ninja Bulid:
Process Output:
[1/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\dart_api_state.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[8/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\bootstrap_natives.cc.obj
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(53): warning C4005: 'bool': macro redefinition
E:\anacondahome\Library\include\stdbool.h(9): note: see previous definition of 'bool'
E:\MS2019\IDE\VC\Tools\MSVC\14.29.30133\include\xkeycheck.h(55): fatal error C1189: #error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[14/202] Building CXX object CMakeFiles\dartvm3.5.4_android_arm64.dir\runtime\vm\isolate.cc.obj
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: