使用MPLAB遇到的问题及解决笔记

happde   2013-3-8 11:49 楼主


2011-09-09 14:45:44|  分类: 技术类 |  标签:processor  types  do  |字号 订阅

1. Error - processor types do not agree across all input files.

   

    Solution
This error typically occurs when you have selected the wrong linker script file.
Double click on the linker script in the Project Tree and make sure you are using the correct linker script for the device you have selected under Configure>Select Device.

      建工程时的Device ( Configure>Select Device设置 ) 与 Linker Script文件夹下面包含的 .lkr文件 不匹配

 

 

2. 出现了could not find file ‘c018i.o’错误

 

    project -> build options -> project -> directories

 对include serach path 和 library serach path等添加(点NEW)默认路径就行了,一般指向C:/mcc18/h   C:/mcc18/lib

回复评论

暂无评论,赶紧抢沙发吧
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复