On Wednesday, October 28, 2015 at 5:44:45 PM UTC+8, Ted Mielczarek wrote:
> On Tue, Oct 27, 2015, at 11:03 PM, Erxin Shang wrote:
> > Another question is about build xulrunner with MSVC debug runtime. Is
> > there a simple way to achieve it? Although currently we could add
> > --enable-debug option but it still build with release runtime as I known.
>
> I don't believe we have any build options to use the debug CRT.
>
> > Any suggestions will be appreciated. Thanks ahead.
> >
> > **************************************
> > *****The command to trigger the build
> > $ {mozilla-code-center-location}/mach build
> >
> > **************************************
> > *****The content of .moziconfig file:
> > mk_add_options MOZ_CO_PROJECT=xulrunner
> > mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-xulrunner
> >
> > ac_add_options --enable-application=xulrunner
> > ac_add_options --disable-tests
> > ac_add_options --enable-debug
> > ac_add_options --disable-optimize
> > ac_add_options --enable-debug-symbols
> > ac_add_options --enable-logging
> > ac_add_options --disable-webgl
> > ac_add_options --disable-gamepad
>
> FYI, the more things you --disable, the more likely your build is to
> fail. Most of those options don't get tested in automation, so they
> frequently break.
>
> > **************************************
> > ******Compile error:
> > 42:36.79
> > d:/SampleProjects/xulrunner-fresh/mozilla-release/config/recurse.mk:32:
> > recipe for target 'export' failed
> > 42:36.79 mozmake.EXE[3]: *** [export] Error 2
> > 42:36.79
> > d:/SampleProjects/xulrunner-fresh/mozilla-release/config/rules.mk:549:
> > recipe for target 'default' failed
> > 42:36.79 mozmake.EXE[2]: *** [default] Error 2
> > 42:36.79 d:/SampleProjects/xulrunner-fresh/mozilla-release/client.mk:401:
> > recipe
> > for target 'realbuild' failed
> > 42:36.79 mozmake.EXE[1]: *** [realbuild] Error 2
> > 42:36.80 client.mk:171: recipe for target 'build' failed
> > 42:36.80 mozmake.EXE: *** [build] Error 2
> > 42:36.85 0 compiler warnings present.
>
> There's not enough context here to see the actual error. Can you attach
> the entire build log, or put it on pastebin.mozilla.org?
>
> -Ted
I have tried to use a client environment, follow the install process of the
prerequisites to build Firefox:
Window 7 64(bit) SP3 IE11
Installed Mozilla build
Installed Visual studio 2013 community edition
Installed Office Header
Installed DirectX 10 SDK
First I got the error message which complain about the window style ending for
the source file.
Then I converted the client.mk to unix style ending. The xulrunner could be
compiled but still get the previous errors.
Any suggestions? Thank you.
-Erxin
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds