求助:为什么我的VC编译什么程序都报错啊?急寻高手帮助!!!急啊!
我用的是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




