用 platform sdk + vc toolkit 编译 firefox 的错误

田春峰 2006-04-14 05:14:09
用 platform sdk + vc toolkit 编译 firefox 的错误

$ make -f client.mk build all
cd /cygdrive/d/mozilla/mozilla
/cygdrive/d/mozilla/mozilla/configure
Adding configure options from /cygdrive/d/mozilla/mozilla/.mozconfig:
--disable-accessibility
--disable-composer
--enable-debug
--disable-activex
--disable-installer
--disable-activex-scripting
--disable-ldap
--disable-calendar
--disable-mailnews
--disable-tests
--enable-crypto
--enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalch
ardet,typeaheadfind,webservices,negotiateauth
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for gcc... cl
checking whether the C compiler (cl ) works... yes
checking whether the C compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cl accepts -g... no
checking for c++... cl
checking whether the C++ compiler (cl ) works... yes
checking whether the C++ compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether cl accepts -g... no
checking for ranlib... ranlib
checking for ml... /cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/V
c7/bin/ml
checking for ar... ar
checking for ld... link
checking for strip... strip
checking for windres... windres
checking for midl... midl
configure: error: $(CXX) test failed. You must have MS VC++ in your path to bui
ld.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/cygdrive/d/mozilla/mozilla/Makefile] Error 1


上面提示:

You must have MS VC++ in your path to build.

我已经在我的路径中加入了 相关路径,为什么还报这样的错误?

...全文
266 点赞 收藏 2
写回复
2 条回复
积木 2006年04月19日
顺便检讨一下……差一点让这个帖子零回复了,我居然没有看到
回复 点赞
积木 2006年04月19日
嗯,你在运行之前运行过
vsvar32.bat这个文件么?
回复 点赞
发动态
发帖子
工具平台和程序库
创建于2007-09-28

8235

社区成员

2.7w+

社区内容

C/C++ 工具平台和程序库
社区公告
暂无公告