1、安装先后顺序: 要先安装Keil C51,后安装RVMDK,否则会出现一系列的编译问题。 2、Keil常见错误――last line of file ends without a newline原因及解决方法 当使用keil编译时,弹出这样的警告信息: main.c(7): warning: #1-D: last line of file ends without a newline 这个是由于在main函数的“}”后,没有加回车。 只要在main函数的“}”后加回车键,此警告信息即可消除。 3.keil c51 不能使用:Go to Definition of....的解决方法 近来有读者问到在Keil C51中使用Go to Definition of....时,出现警告对话框: no browse information available in'工程目录' check-[target-options][output][browse information] then rebuild the target! 查了一些资料,原因大概有二: 1、代码中嵌有汇编,汇编代码去掉后能查看。 2、选中target1,然后点击右键,选择 option for target 'target1' ,在弹出的对话框中选择output选项卡,看Browse information 选项有没有勾选,如果没有,请勾选,然后把你的工程rebuild 一次。
网上相关资料: http://blog.csdn.net/yam_killer/article/details/7673191 http://zhidao.baidu.com/question/218261369.html
|
|