ERROR: Cannot find a Visual C++ install for e.g. ATL headers.
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox123 fixed)
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: jhnsmth1052, Assigned: glandium)
References
Details
Attachments
(2 files)
Steps to reproduce:
I followed these guides:
https://firefox-source-docs.mozilla.org/setup/windows_build.html#building-firefox-on-windows
https://firefox-source-docs.mozilla.org/mobile/android/geckoview/contributor/geckoview-quick-start.html#geckoview-contributor-guide
Actual results:
The "mach build" command failed for android builds on Windows with the error:
ERROR: Cannot find a Visual C++ install for e.g. ATL headers.
Assignee | ||
Comment 1•1 year ago
|
||
Workaround: add ac_add_options --target=aarch64
to your mozconfig.
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:rsainani, could you have a look please?
For more information, please visit BugBot documentation.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
The first thing is that the target CPU may not be supported by Visual
C++, so using that, we don't find the path to a Visual C++ compiler.
By using the host CPU in that case, we can find it.
For ATL and MFC libraries, we may not be able to find them for similar
reasons, but we don't actually need them when cross-compiling, so just
return nothing for those when the target OS is not Windows.
Comment 5•1 year ago
|
||
bugherder |
Description
•