TI论坛
直播中

李珏

8年用户 171经验值
私信 关注
[问答]

请问CCS 编译报错 identifier "Int16" is undedined TMS320C5535类型定义是在哪个头文件里面的?

CCS4.导入C5535的一个历程E:program filesTexas InstrumentsC5535ccsv4emulationboardsezdsp5535_v1testslcd-osd9616,
build project是报错:identifier "Int16" is undedined
                                      identifier "Uint16" is undedined
                                      identifier "Uint32" is undedined
求问TMS320C5535类型定义是在哪个头文件里面的?

回帖(4)

李峰

2018-7-30 09:52:01
这些类型,你可以在自己在main中定义的,
typedef unsigned int Uint32;
typedef unsigned short Uint16;
typedef unsigned char Uint8;
在这个路径下:C:ccs_5.4bios_5_42_01_09packagestibiosinclude
tistdtypes.h中定义的有,你可以看一下。
举报

李波

2018-7-30 09:57:44
引用: kingnet_52004 发表于 2018-7-30 09:52
这些类型,你可以在自己在main中定义的,
typedef unsigned int Uint32;
typedef unsigned short Uint16;

C5000 的32bit是long, int是16bit:

                                                                         http://processors.wiki.ti.com/index.php/Main_Page
Think Over Before Asking.
http://www.catb.org/~esr/faqs/smart-questions.html#goal
举报

李峰

2018-7-30 10:04:14
引用: lifei639156 发表于 2018-7-30 09:57
C5000 的32bit是long, int是16bit:

                                                                         http://processors.wiki.ti.com/index.php/Main_Page

你可以这样定义:
typedef unsigned long Uint32;
typedef unsigned short Uint16;
typedef unsigned char Uint8;
举报

李珏

2018-7-30 10:13:29
引用: kingnet_52004 发表于 2018-7-30 09:52
这些类型,你可以在自己在main中定义的,
typedef unsigned int Uint32;
typedef unsigned short Uint16;

谢谢回答!我在E:program filesTexas InstrumentsC5535bios_5_41_10_36packagestibiosinclude这个路径下面找到了。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分