请教朋友们一个问题,如何在CCS5.3中添加.h文件???我已经添加到了工程中可还是显示could not open source file "lcd_12864.h" 。不知道什么问题,还请朋友们给解答一下,谢谢了!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请教朋友们一个问题,如何在CCS5.3中添加.h文件???我已经添加到了工程中可还是显示could not open source file "lcd_12864.h" 。不知道什么问题,还请朋友们给解答一下,谢谢了!
hongyue,
看一下这个头文件是否包含在工程编译属性的CCS BUILD > c2000 compiler > include path中。有时候CCS会显示某些文件无法打开,比如工程中某些源文件,这时候我一般是把那个文件从工程中删除,然后重新添加。
关于这个Icdxx头文件,你要看一下是哪个源文件在include它,然后看include中是否有包含特殊路径,因为你只是加到本工程目录下面,只能通过inclue " icdxx.h"找到,如果源文件中是使用include " filepath\icdxx.h"的话,你添加到工程中也没用。
Eric