Hi there,
我下载了sprc178的程序f2812 PMSM - C2000︎ 微控制器论坛 - C2000 微控制器 - E2E 设计支持 (ti.com) (PMSM3_3).
该项目运行在CCS 7.4,0
我在导入程序后遇到了这个错误
>> Compilation failure
makefile:150: recipe for target 'C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3_281x_CCS3x/../../../../../../../../DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3.out' failed
undefined first referenced
symbol in file
--------- ----------------
_DLOG_4CH_init C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_DLOG_4CH_update C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV1_DRIVE_Init C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV1_DRIVE_Update C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV1_PWM_Init C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV1_PWM_Update C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV2_Resolver_PWM_Init C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_EV2_Resolver_PWM_Update C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_adc04b_drv_init C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_F281X_adc04b_drv_read C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_clarke_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_ipark_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_park_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_pid_reg3_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_rampgen_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_rmp_cntl_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
_svgendq_calc C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/obj/pmsm3_3.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3_281x_CCS3x/../../../../../../../../DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3.out" not built
gmake[1]: *** [C:/tidcs/DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3_281x_CCS3x/../../../../../../../../DMC/c28/v32x/sys/PMSM3_3_281x/cIQmath/build/pmsm3_3.out] Error 1
gmake: *** [all] Error 2
makefile:146: recipe for target 'all' failed
**** Build Finished ****
根据这个问题,不确定应该添加哪个库。
看看我的文件搜索路径
Thanks in advance