Building Firefox
-
Create a link, a directory junction https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc753194(v=ws.11). The link will obviously have a shorter name with no spaces, for example Mklink /j C:\VS2019 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community The paths as shown in the example is what worked for me
-
Add a new environment path VC_PATH with value C:\VS2019\VC\Tools\MSVC\14.26.28801 make sure the value is actually a valid directory and update it to the latest if necessary.
-
Run (or rerun) ./mach configure. You may have to delete the config.cache file. (There is probably a command to clear a config)
-
Run ./mach build. My build was successful
Summary
- Mklink /j C:\VS2019 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
- set VC_PATH=C:\VS2019\VC\Tools\MSVC\14.26.28801 or add it throw the GUI to persist it
- ./mach configure (you have to delete the existing config.cache
- ./mach build
No comments:
Post a Comment