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.

大家好,我使用达芬奇DM368平台,在自己的应用程序中包含平台头文件时出现std.h85:2 error,请各位大侠帮忙分析。谢谢了

大家好,我使用达芬奇DM368平台,在自己的应用程序中代码中包含平台头文件

#include <xdc/std.h>

#include <ti/sdo/dmai/Fifo.h>
#include <ti/sdo/dmai/Pause.h>
#include <ti/sdo/dmai/Rendezvous.h>
#include <ti/sdo/dmai/BufTab.h>
#include <ti/sdo/dmai/BufferGfx.h>

时出现以下错误:

/opt/ti_368/xdctools_3_16_03_36/packages/xdc/std.h:85:2: error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...

我在makefile也增加了平台头文件的路径

INC_DIR      += -I$(DMAI_INSTALL_DIR)/packages
INC_DIR      += -I$(XDC_INSTALL_DIR)/packages
INC_DIR      += -I$(CMEM_INSTALL_DIR)/packages
INC_DIR      += -I$(CODEC_INSTALL_DIR)/packages
INC_DIR      += -I$(CE_INSTALL_DIR)/packages
INC_DIR      += -I$(XDAIS_INSTALL_DIR)/packages
INC_DIR      += -I$(FC_INSTALL_DIR)/packages

请各位帮忙指点一二。谢谢了