当前位置: 代码迷 >> 单片机 >> 。为什么打什么程序都出现这个ERROR_Error: can't execute 'D:\C51\BIN\C51.EXE'
  详细解决方案

。为什么打什么程序都出现这个ERROR_Error: can't execute 'D:\C51\BIN\C51.EXE'

热度:381   发布时间:2016-04-28 15:37:12.0
救命啊。为什么打什么程序都出现这个ERROR_____Error: can't execute 'D:\C51\BIN\C51.EXE'
在keil uvision2平台下随便运行个例如8盏齐闪齐灭的流水灯
#include<REGX52.H>
#define led P1
void delay()
{
 unsigned int a,b;
 for(a=0;a<=2000;a++);
  for(b=0;b<=2000;b++);
}
 void main()
 {
  while(1) {
  led=0xff;
  delay;
led=0x00;
  delay;
  }
 
 }
的例子程序时总是出现下面的问题,为--- Error: can't execute 'D:\C51\BIN\C51.EXE'
不知道是什么原因,请各位高手们帮忙。最好附上图片操作。。本人为菜鸟级人物。。。。。。。。。。。谢谢各位
------解决方案--------------------
意思是不能执行编译程序。
盗版?重装试试
------解决方案--------------------
你的keil是直接拷贝过去,不是安装的吧
------解决方案--------------------
找到tools.ini文件,里面有C51的路径,设为keil 安装目录下C51文件夹所在的目录即可。
------解决方案--------------------
明显路径不对啊
  相关解决方案