CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  C/C++ >  工具平台和程序库

求助:为什么我的VC编译什么程序都报错啊?急寻高手帮助!!!急啊!

楼主diaochunmeng(导体2)2005-07-05 04:40:11 在 C/C++ / 工具平台和程序库 提问

我用的是VC6。0    
   
  不知道为什么编译什么程序都报错  
   
  Compiling...  
  Floatcon.cpp  
  Command   line   error   D2027   :   cannot   execute   'c1xx'  
  Error   executing   cl.exe.  
   
  Floatcon.exe   -   1   error(s),   0   warning(s)  
   
  即使是空程序也如此;郁闷啊,谢谢哪位大哥指点一下;是不是什么东西没设好啊??  
  问题点数:20、回复次数:8Top

1 楼moany(长枪大戟)回复于 2005-07-05 08:16:31 得分 2

关注Top

2 楼gonch(gongch)回复于 2005-07-05 08:31:50 得分 8

碰到有这种问题要查MSDN,查错误码(D2027)就可以。编译/链接的警告/错误都可以的。  
  下面是MSDN里的内容  
  cannot   execute   'component'  
   
  The   compiler   could   not   run   the   given   compiler   component   or   linker.  
   
  Possible   causes    
   
  Not   enough   memory   to   load   the   component.   If   NMAKE   invoked   the   compiler,   run   the   compiler   outside   of   the   makefile.    
  The   current   operating   system   could   not   run   the   component.   Make   sure   the   path   points   to   the   executable   files   appropriate   to   your   operating   system.    
  The   component   was   corrupted.   Recopy   the   component   from   the   distribution   disks,   using   the   SETUP   program.    
  An   option   was   specified   incorrectly.   For   example:    
  cl   /B1   file1.c  
  Top

3 楼LifeAndC(蓝色忧郁)回复于 2005-07-05 08:44:17 得分 2

cl是个链接程序吧,估计你的VC有问题。Top

4 楼diaochunmeng(导体2)回复于 2005-07-05 12:43:05 得分 0

谢谢   诸位指点、  
  按照MSDN的说法Make   sure   the   path   points   to   the   executable   files   appropriate   to   your   operating   system  
  那是不是应该设环境变量啊?好象装JAVA时设过   不过我不太明白VC的怎么射  
  按说直接安装后应该可以用了吧?  
  如果不是这问题  
  会不会有其他的错误可能Top

5 楼ericqxg007(还有很多东西要学(卡卡一米阳光))回复于 2005-07-05 19:58:40 得分 2

要设环境变量马?   ???  
  Top

6 楼bm1408(向va_list学习~不用VC好多年~)回复于 2005-07-05 20:08:01 得分 2

project   setting     debug--->execuable   for   debug   session  
  看看你的可执行文件对不对?Top

7 楼diaochunmeng(导体2)回复于 2005-07-05 21:42:48 得分 2

我没设环境变量   我觉得不用吧  
  project   setting     debug--->execuable   for   debug   session  
  这我看了一下   是对的    
  可是仍旧抱错   不解啊Top

8 楼wvins(逸岚)回复于 2005-07-05 21:57:39 得分 2

重启(或注销)还有问题吗?  
   
  有一种可能是你上次执行的程序没有终止!!!  
  将无法调用cl,原因不明Top

相关问题

  • 编译报错
  • 编译中报错!!!
  • 刚安了个VC++ 6.0 怎么编译总报错
  • 【求救】MS VC 能编译,gcc 报错,为何?
  • 急,unsafe类型应如何避免编译报错!
  • 编译动态连接库是报错!在线急等回答!!
  • 编译java文件报错
  • (急)小弟刚自学两天,学while,写了一个例子,用MS VC++60编译,报错,请问错在哪里?
  • vc编译报错,但不知道原因,高手们来看下
  • 请帮忙看看该存储过程在编译时报错?急等ing...

关键词

  • component
  • msdn
  • debug
  • 程序
  • compiler
  • 环境变量
  • cl
  • executable
  • 问题
  • run

得分解答快速导航

  • 帖主:diaochunmeng
  • moany
  • gonch
  • LifeAndC
  • ericqxg007
  • bm1408
  • diaochunmeng
  • wvins

相关链接

  • C/C++ Blog
  • C/C++类图书
  • C/C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo