找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 1347|回复: 8

为什么我的VC++6.0会出现这种情况?

[复制链接]
发表于 2009-11-2 06:37:51 | 显示全部楼层 |阅读模式 IP:江苏扬州
#include<stdio.h>
void main()
{printf("hello!");
}
-------------------Configuration: example - Win32 Debug--------------------
Compiling...
example.c
Command line error D2027 : cannot execute 'c1'
Error executing cl.exe.
example.obj - 1 error(s), 0 warning(s)
这是为什么?这么简单的程序!哪位能帮帮忙吗?
发表于 2009-11-2 06:37:55 | 显示全部楼层 IP:江苏扬州
Command-line Error D2027
cannot execute 'component'
The compiler could not run the given compiler component or linker.
One of the following may have occurred:
Not enough memory was available to load the component. If this error occurred when 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, the following CL command generates this error:
cl /B1 file1.c
回复

使用道具 举报

发表于 2009-11-2 06:37:58 | 显示全部楼层 IP:江苏扬州
重装VC再不行装系统算了
回复

使用道具 举报

发表于 2009-11-2 06:38:04 | 显示全部楼层 IP:江苏扬州
是不是你的vc没有了c1.dll文件一般是在
\Microsoft Visual Studio\VC98\Bin\ 下,没有找人给你个看行不行,你VC肯定没装好呢!
回复

使用道具 举报

发表于 2009-11-2 06:38:08 | 显示全部楼层 IP:江苏扬州
呵呵,我都重装几回了,还是那样!!!!
回复

使用道具 举报

发表于 2009-11-2 06:38:11 | 显示全部楼层 IP:江苏扬州
这是因为编译器找不到'c1.dll'文件
VC中设置以下就可以了

工具(tools)-->选项(Options)-->目录(Directions)-->可执行文件(Executable files) 中添加'c1.dll'的位置

保存设置就OK了 。。。
回复

使用道具 举报

发表于 2009-11-2 06:38:16 | 显示全部楼层 IP:江苏扬州
换个版本或编译器吧,不过感觉VC++编译C不是很好。
回复

使用道具 举报

发表于 2009-11-2 06:38:22 | 显示全部楼层 IP:江苏扬州
重新启动VC试一下!
回复

使用道具 举报

发表于 2009-11-2 06:38:25 | 显示全部楼层 IP:江苏扬州
我知道是怎么回事因为你的C++是从别的机器上下的或者是在安装是按的是默认的目录下的你开启C++后在:
工具下的选择下,在找找那个目录后把那里的所有什么头文件啊的目录全改成你安装的C++处就好使拉
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 03:36 , Processed in 0.200520 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表