8000 msbuild call failure with 'flutter run' on Windows · Issue #32792 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
msbuild call failure with 'flutter run' on Windows #32792
Closed
@stuartmorgan-g

Description

@stuartmorgan-g

Splitting out from google/flutter-desktop-embedding#342 (comment)

Summarizing the error:

Build process failed

#0      throwToolExit (package:flutter_tools/src/base/common.dart:24:3)
#1      buildWindows (package:flutter_tools/src/windows/build_windows.dart:56:5)
[...]
[  +13 ms] 'C:\Program' is not recognized as an internal or external command,
[   +3 ms] operable program or batch file.

That looks very much like the vcvars64 path was split on spaces. What doesn't make sense about that is that this path pretty much always has spaces, so I don't understand why this would happen to someone else, but not be reproducible for me.

I'll make a branch tomorrow with some additional logging to make sure that's indeed what's happening (and not a strange issue with finding the vcvars64.bat path, for instance). Meanwhile, @contrix09 is there anything unusual about your CMD.exe configuration (e.g., something that might cause paths to be processed an extra time)?

Metadata

Metadata

Labels

a: desktopRunning on desktopplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0