主题中讨论的其他器件:C2000WARE
您好!
尝试包含 types.h 文件时、math.h 文件中出现构建错误。 以下是代码行:
#include "libraries/utilities/types/include/types.h"
这里是构建错误:

我在项目属性中包含了 types.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.
您好!
尝试包含 types.h 文件时、math.h 文件中出现构建错误。 以下是代码行:
#include "libraries/utilities/types/include/types.h"
这里是构建错误:

我在项目属性中包含了 types.h 文件的路径、如下所示:

为什么文件无法打开? 谢谢、
您好 Siddharth、
感谢您的帮助。 我将在以下位置使用 MotorControl SDK:
C:\ti\c2000\C2000Ware_MotorControl_SDK_4_00_00_00
我注意到、在上面指定的路径中有一个 C2000ware 文件夹、我的项目会在它们中查找一些项目。
以上路径也是${SDK_ROOT}的值、如下所示。

但是、我看不到 ${SDK_ROOT}的定义位置、它不在预定义符号中、因此我不确定这一点。

谢谢