PIC常见错误-不定期更新

来源:互联网 发布:企业文件管理系统源码 编辑:程序博客网 时间:2024/05/29 07:14

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

 

0 0
原创粉丝点击