本文介绍了我怎样才能制作.mozconfig的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨。
我开始使用Miscrosoft Visual Studio 2010在Win7上构建firefox开源24.0.1。我一步一步地列出了undo []。
嗯,我已经配置了这样的.mozconfig文件
mk_add_options WIN32_REDIST_DIR = C:\Program Files \ Microsoft Visual Studio 10.0 \ VSC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ string> XXX \obj-i686-pc-mingw32
mk_add_options MOZ_MAKE_FLAGS = -j4
mk_add_options PYTHON = C:\ emzilla-build\python
ac_add_options --enable-application = browser
ac_add_options --disable-gamepad
ac_add_options - -disable-webgl
ac_add_options --disable-tests
ac_add_options --disable-webrtc
ac_add_options --disable-jsd
ac_add_options --disable-crashreporter
ac_add_options - -disable-webapp-runtime
ac_add_options --disable-updater
ac_add_options --disable-opus
ac_add_options --disable-ogg
ac_add_options --disable-webm
ac_add_options --disable-websms-backend
ac_add_options --disable-libconic
ac_add_options --disable-gconf
ac_add_options --disable-gio
ac_add_options --disable-pango
ac_add_options --disable-necko-wifi
ac_add_options --with-app-basename = XXXX
ac_add_options --with-app-name = XXXX
并开始使用Mozilla-Build支持的start-msvc10.bat上的.configure和.make命令构建。但是发生了两个错误。
YYYYY \dist\include\\\
sTArray.h( 267 ):警告C4003: 足够的实际参数 宏' MOZ_NOT_REACHED'
c:\ xxx \ VC \INCLUDE \ xlocale( 323 ):警告C4530:使用了C ++异常处理程序,但是展开语义是未启用。指定/ EHsc
make [ 4 ]:***没有规则 使目标' XXXX.exe.manifest','XXXX.exe'需要。停止。
好吧,我该如何解决这个问题?请帮助我。
解决方案
Hi.
I started to build firefox open source 24.0.1 on Win7 using Miscrosoft Visual Studio 2010. I step by step listed undo https://developer.mozilla.org/en-US/docs/Simple_Firefox_build[^].
Well, I've configured .mozconfig file like this
mk_add_options WIN32_REDIST_DIR="C:\Program Files\Microsoft Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.CRT" mk_add_options MOZ_OBJDIR="XXX\obj-i686-pc-mingw32" mk_add_options MOZ_MAKE_FLAGS="-j4" mk_add_options PYTHON="C:\mozilla-build\python" ac_add_options --enable-application=browser ac_add_options --disable-gamepad ac_add_options --disable-webgl ac_add_options --disable-tests ac_add_options --disable-webrtc ac_add_options --disable-jsd ac_add_options --disable-crashreporter ac_add_options --disable-webapp-runtime ac_add_options --disable-updater ac_add_options --disable-opus ac_add_options --disable-ogg ac_add_options --disable-webm ac_add_options --disable-websms-backend ac_add_options --disable-libconic ac_add_options --disable-gconf ac_add_options --disable-gio ac_add_options --disable-pango ac_add_options --disable-necko-wifi ac_add_options --with-app-basename=XXXX ac_add_options --with-app-name=XXXX
and started building with .configure and .make command on "start-msvc10.bat" supported by Mozilla-Build. But there are two errors occured.
YYYYY\dist\include\nsTArray.h(267) : warning C4003: not enough actual parameters for macro 'MOZ_NOT_REACHED' c:\xxxx\VC\INCLUDE\xlocale(323) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc make[4]: *** No rule to make target 'XXXX.exe.manifest', needed by 'XXXX.exe'. Stop.
Well, How can I solve this problem? Please, help me.
解决方案
这篇关于我怎样才能制作.mozconfig的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!