MozillaZine

Windows build: Visual studio issues

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
sneharbhat
 
Posts: 7
Joined: July 20th, 2017, 11:04 am

Post Posted July 25th, 2017, 2:08 pm

I am trying to build Mozilla release build from https://hg.mozilla.org/releases/mozilla-release. But i have been facing Visual Studio issues. When i run mach build i get this error
0:03.95 ERROR: This version (19.00.24210) of the MSVC compiler is not supported

0:03.95 You must install Visual C++ 2015 Update 3 or newer in order to build.[/color]

I have Visual studio 2017 installed.
Just to add, I cloned https://hg.mozilla.org/mozilla-central/ and this build works fine I had no issues with build

Virtual_ManPL

User avatar
 
Posts: 1884
Joined: July 24th, 2008, 5:52 am

Post Posted July 25th, 2017, 11:08 pm

Mozilla added official support for building Firefox with Visual Studio 2017 in version 55.
I reported that issue here - Bug 1384429 - Show also newest/latest supported IDE in order to build in compiler errors.,
so Mozilla developers can change this misleading error to proper one.
Virtualfox persona

Are you ready for deprecation of XUL & XBL & XPCOM extensions? Not?! Try Firefox ESR

sneharbhat
 
Posts: 7
Joined: July 20th, 2017, 11:04 am

Post Posted July 27th, 2017, 10:30 pm

Thanks for the reply. So does the release branch build with Visual studio 2015 update 3?

I installed VS 2015 but further ran into more issues.
ERROR: Target C compiler target CPU (x86_64) does not match --target CPU (i686)

I set the ac_add_options --target=x86-64-pc-mingw32 and ac_add_options --host=x86-64-pc-mingw32
in .mozconfig. If i do this then i get errors.

0:05.21 checking for host system type... Invalid configuration `x86-64-pc-mingw
32': machine `x86-64-pc' not recognized

I tried to run vcvarsall.bat x86_amd64, but I still run into same errors.

isaacschemm
 
Posts: 202
Joined: January 20th, 2015, 12:29 pm

Post Posted July 28th, 2017, 6:05 am

Are you using the right batch file to open the shell? That's the only thing I can think of.

sneharbhat
 
Posts: 7
Joined: July 20th, 2017, 11:04 am

Post Posted July 28th, 2017, 10:12 am

I used the start-shell-msvc2015-x64.bat shell.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest