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.

6678中 #include <ti/csl/csl_chip.h> 出现错误



#include <ti/csl/csl_chip.h>
#include <ti/csl/src/intc/csl_intc.h>
#include <ti/csl/csl_cpintcAux.h>  

这三句前面有问号

编译后出现  could not open source file "ti/csl/csl_chip.h" 

请问怎么解决?

  • 你没有添加library吧? 右键工程property->c/c++ build->setting->C6000 compiler->include options.

  • 你好:

        因为在你的工程设置的里面没有包含编译所需要的头文件。可以看一下你的工程设置中Include Option部分中的路径下有没有你安装的PDK,

    如果没有请找到安装PDK的文件路径并添加,因为这些文件都可在PDK中找到。

     <ti/csl/csl_chip.h> 搜索是在你添加的路径文件夹下,向下搜索。

    例如在Include Option中添加C:\ti\pdk_C6678_1_0_0_18\packages,则其下的ti文件夹就会被搜索

  • 你好,按你所说的问题解决了,但是debug时又出现如下问题,

    newtargetconfiguration.ccxml contains invalid characters

    请问这是什么原因?