【问题标题】:building dart on windows: build failed在 Windows 上构建飞镖:构建失败
【发布时间】:2014-07-12 18:23:12
【问题描述】:

我正在尝试在 Windows 上构建 dart-vm。我按照https://code.google.com/p/dart/wiki/PreparingYourMachine 和https://code.google.com/p/dart/wiki/Building 此处描述的所有步骤进行操作

当我尝试执行 build.py 脚本时,出现以下错误:

D:\_dev\workspace-vs\dart-repo\dart\tools>python build.py runtime
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\\devenv.com /build DebugX64|x64 /project runtime dart.sln

Microsoft Visual Studio 2013 Version 12.0.21005.1.
Copyright (C) Microsoft Corp. All rights reserved.

The following files were specified on the command line:

    dart.sln

These files could not be found and will not be loaded.BUILD FAILED

D:\_dev\workspace-vs\dart-repo\dart\tools>

甚至可以在windows系统上构建vm吗?

编辑:

好的,所以现在,在我将所有 Visual Studio 解决方案文件更新到我的 2013 版本之后,我至少可以启动构建链。但我仍然遇到一些错误。似乎我无法生成“global_intermediate”文件,尝试构建的解决方案依赖于它们并失败。有什么想法吗?

1>------ Build started: Project: generate_async_cc_file, Configuration: ReleaseIA32 Win32 ------
2>------ Build started: Project: generate_corelib_cc_file, Configuration: ReleaseIA32 Win32 ------
3>------ Build started: Project: generate_async_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
4>------ Build started: Project: generate_collection_cc_file, Configuration: ReleaseIA32 Win32 ------
5>------ Build started: Project: generate_collection_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
6>------ Build started: Project: generate_convert_cc_file, Configuration: ReleaseIA32 Win32 ------
7>------ Build started: Project: generate_convert_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
8>------ Build started: Project: generate_typed_data_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
2>  Generating ..\build\ReleaseIA32\obj/global_intermediate/corelib_gen.cc file.
2>  The system cannot find the path specified.
4>  Generating ..\build\ReleaseIA32\obj/global_intermediate/collection_gen.cc file.
4>  The system cannot find the path specified.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
3>  Generating ..\build\ReleaseIA32\obj/global_intermediate/async_patch_gen.cc file.
3>  The system cannot find the path specified.
9>------ Build started: Project: generate_corelib_patch_cc_file, Configuration: ReleaseIA32 Win32 ------
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1.
10>------ Build started: Project: generate_internal_cc_file, Configuration: ReleaseIA32 Win32 ------
1>  Generating ..\build\ReleaseIA32\obj/global_intermediate/async_gen.cc file.
10>  Generating ..\build\ReleaseIA32\obj/global_intermediate/internal_gen.cc file.
10>  The system cannot find the path specified.
1>  The system cannot find the path specified.

【问题讨论】:

标签: dart


【解决方案1】:

解决了。有关如何在 vs2013 上构建的更多信息,请参阅 https://code.google.com/p/dart/issues/detail?id=20023。

【讨论】:

    猜你喜欢
    • 2016-07-26
    • 2020-05-13
    • 2010-11-13
    • 2018-12-21
    • 2019-06-11
    • 1970-01-01
    • 2019-06-28
    • 1970-01-01
    • 2021-11-27
    相关资源
    最近更新 更多