Re: error while building a release(official) version on window error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configurati

2018-11-06 Thread Masatoshi Kimura
You cannot build Firefox 62 or earlier using Visual Studio 2017 Update 8
because of .

On 2018/11/07 0:28, Amirhossein Ghafari wrote:
> Hi,
> 
> I'm trying to build the release version of the firefox on the windows host.
> 
> The problem is I can easily follow the build instruction for windows provided 
> (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites)
>  but when I'm trying to compile a released version like 
> (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz)
>  I will get the error in the building process.
> 
> I'm so frustrated right now I would shake your hand if you tell me what's 
> wrong.
> 
> here is the error:
> 
>  0:41.82 checking for dia2.h... yes
>  0:43.66 checking for overridable _RAISE... no
>  0:43.66 configure: error: Gecko exception wrapping doesn't understand your 
> your MSVC/SDK.  Please file a bug describing this error and your build 
> configuration.
>  0:43.67 DEBUG: 
>  0:43.67 DEBUG: configure:2433: checking for ranlib
>  0:43.67 DEBUG: configure:2465: checking for ml
>  0:43.67 DEBUG: configure:2519: checking for ar
>  0:43.67 DEBUG: configure:2554: checking for strip
>  0:43.67 DEBUG: configure:2589: checking for windres
>  0:43.67 DEBUG: configure:2624: checking for otool
>  0:43.67 DEBUG: configure:2726: checking for midl
>  0:43.67 DEBUG: configure:2775: cl.exe -c  -TC -nologo  conftest.c 1>&5
>  0:43.67 DEBUG: conftest.c
>  0:43.67 DEBUG: configure:2800: cl.exe -c  -TP -nologo  conftest.C 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: configure:2851: checking for dia2.h
>  0:43.67 DEBUG: configure:2864: cl.exe -c  -TC -nologo  conftest.c 1>&5
>  0:43.67 DEBUG: conftest.c
>  0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
>  0:43.67 DEBUG: configure:3005: cl.exe -c  -TP -nologo -w15038 -wd5026 
> -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0  conftest.C 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: 
> C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512):
>  warning C4005: '_RAISE': macro redefinition
>  0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
>  0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand 
> your your MSVC/SDK.  Please file a bug describing this error and your build 
> configuration.
>  0:43.67 ERROR: old-configure failed
>  0:43.75 *** Fix above errors and then restart with\
>  0:43.75"c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
>  0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
> 
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
> 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: error while building a release(official) version on window error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configurati

2018-11-06 Thread Gabriele Svelto
 Hi Amirhossein,

On 06/11/2018 16.28, Amirhossein Ghafari wrote:
>  0:43.67 DEBUG: configure:3005: cl.exe -c  -TP -nologo -w15038 -wd5026 
> -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0  conftest.C 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: 
> C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512):
>  warning C4005: '_RAISE': macro redefinition
>  0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
>  0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand 
> your your MSVC/SDK.  Please file a bug describing this error and your build 
> configuration.
>  0:43.67 ERROR: old-configure failed
>  0:43.75 *** Fix above errors and then restart with\
>  0:43.75"c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
>  0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1

That error usually crops up when something's wrong with the Windows SDK,
the most likely explanation is that you don't have the correct version
installed. IIRC you need either SDK 10.0.15063.0 or 10.0.17134.0.

Additionally I'd suggest you to try building the current mozilla-central
codebase instead of a release version and use ./mach bootstrap to get
all your dependencies installed.

 Gabriele



signature.asc
Description: OpenPGP digital signature
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform