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.

[参考译文] CCS 看不到包含的文件

Guru**** 2580315 points
Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1122877/ccs-not-seeing-included-files

主题中讨论的其他器件:C2000WARE

您好!  

我在编译期间遇到错误、编译器无法找到文件、但该文件来自工程的包含部分。  CCS 无法看到此文件是否有原因?   

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Paul、

    编译器无法找到头文件、因为它位于工程中指定的其中一个包含路径的子文件夹中。  查看项目的包含路径、您需要添加 ${C2000WARE_ROOT}/device_support/f2838x/common/include

    或者、您可以将/include 添加到#include 语句中

    此致、

    John

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢、这很成功!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    很好