MPLAB编译没错,连接出现c盘下的头文件错误是怎么回事啊

2019-03-25 19:26发布

有哪位朋友用过MPLAB编译器,我写的PIC的程序,编译的时候是正确,但连接的时候出现的错误全是指向C盘下面的pic头文件啊     生成不了hex文件     希望哪位朋友能解释一下   非常感谢了
就像这样
Error   [285] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 24.24 no identifier in declaration
Error   [314] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 24.24 ";" expected
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 124.38 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 124.43 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 125.35 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 125.40 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 126.37 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 126.42 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 127.35 taking the address of this object is illegal

Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 127.40 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 128.35 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 128.40 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 129.27 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 129.32 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 130.27 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 130.32 simple integer expression required
Error   [201] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 131.27 taking the address of this object is illegal
Error   [236] C:Program FilesHI-TECH SoftwarePICCPRO9.65includepic16f685.h; 131.32 simple integer expression required

********** Build failed! ********** 此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。