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

JCJC错别字检测-田春峰
博客专家认证
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.

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

...全文
337 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
积木 2006-04-19
  • 打赏
  • 举报
回复
顺便检讨一下……差一点让这个帖子零回复了,我居然没有看到
积木 2006-04-19
  • 打赏
  • 举报
回复
嗯,你在运行之前运行过
vsvar32.bat这个文件么?

24,860

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧