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.
工具与软件:
你(们)好
我在该项目首次编译时就正确地在 workspace_CCSTHEIA 中导入了 cla_ex4_pwm_control 项目。 我进行了一些极少的修改、现在得到了以下结果:
[0]****为 CLA_ex4_pwm_control 项目构建配置 CPU1_RAM ****
[1]"C:\\ti\\ccs2002\\ccs\\utils\\bin\\gmake"-k -j 8 all -O
[2]构建文件:"../cla_ex4_pwm_control.c"
[3]正在调用:C2000编译器
[4]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 pwma"-v28 -ml -mt /ti/c2000/C2000Ware_5_04_00_00 --cla_support=cla2 /Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/device --float_support=fpu64 /ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include --idiv_support=idiv0 --tmu_support=tmu0 - vcu_support=vcrc -Ooff --include_path="c:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control /ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib /Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/CPU1_RAM/syscfg
[5]>>编译失败
[6] subdir_rules.mk:9:目标"cla_ex4_pwm_control.obj"的配方失败
[7]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h、第51行:错误#20:标识符"uint16_t"未定义
[8]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h、第52行:错误#20:标识符"int16_t"未定义
[9]2在编译"../cla_ex4_pwm_control.c"时检测到错误。
[10]gmake:***[cla_ex4_pwm_control.obj]错误1.
[11]构建文件:"../cla_ex4_pwm_control_cla.cla"
[12]调用:C2000编译器
[13]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 pwma"-v28 -ml -mt -cla_support=cla_ex2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C /Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/device:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control /ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib --include_path="C:/ti/c2000/C2000Ware_5_04_00_00 /ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include /Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/CPU1_RAM/syscfg
[14]>>编译失败
[15]subdir_rules.mk:43:目标"cla_ex4_pwm_control_cla.obj"的配方失败
[16]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h、第51行:错误#20:标识符"uint16_t"未定义
[17]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h、第52行:错误#20:标识符"int16_t"未定义
[18]2在编译"../cla_ex4_pwm_control_cla.cla"时检测到错误。
[19]gmake:***[cla_ex4_pwm_control_cla.obj]错误1.
[20]gmake:由于错误、未重制目标"all"。
[21]****构建完成****
什么应用程序?
此致
Luca.
尊敬的 Luca:
您的似乎与项目中未定义的数据类型有关。 您对项目进行了哪些类型的更改。 您是否更新了#include 的列表?
此致、
Ozino
您好、Ozino
抱歉、我无法重现此行为。 我关闭了任务。
此致
Luca.