DSPwilliam hill官网
直播中

小芽糖

6年用户 43经验值
擅长:嵌入式技术
私信 关注

CCS 打开CC3220SF例程,什么都没改,编译就有错,帮忙解决一下,谢谢

我就打开例程然后编译,他就报错了,路径没中文没空格。网上找了几天了,救救我呗
portable_CC3220SF_LAUNCHXL_tirtos_ccs:
报错信息:

Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.

console信息:
Buildfile generation error occurred..
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
Build stopped..

tirtos_builds_CC3220SF_LAUNCHXL_release_ccs:
报错信息:
cannot open source file "ti/sy***ios/family/arm/m3/Hwi.h"(Ctrl左键都可以打开,但是就是提示不能打开)
cannot open source file "xdc/std.h"(Ctrl左键都可以打开,但是就是提示不能打开)
gmake: *** [../src/sy***ios/sy***ios.aem4] Error 2
gmake: Target 'all' not remade because of errors.
gmake[1]: *** [BIOS.obj] Error 1
gmake[1]: *** [m3_Hwi_asm.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
console信息:
**** Build of configuration Debug for project tirtos_builds_CC3220SF_LAUNCHXL_release_ccs ****

"D:\ti\ccs1030\ccs\utils\bin\gmake" -k -j 8 all -O

making ../src/sy***ios/sy***ios.aem4 ...
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
clem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/BIOS.c ...

>> Compilation failure
makefile:59: recipe for target 'BIOS.obj' failed
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/BIOS.c", line 36: fatal error: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/BIOS.c".
Compilation terminated.
gmake[1]: *** [BIOS.obj] Error 1
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm_switch.sv7M ...
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M ...
7 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
"D:tisimplelink_cc32xx_sdk_3_10_00_04kerneltirtospackagestisy***iosfamilyarmm3package/internal/Hwi.xdc.h", line 15: fatal error: cannot open source file "ti/sy***ios/family/arm/m3/Hwi.h"
Compilation terminated.
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 36:
[E1000]
         error while processing C code in .cdecls directive
                .cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 52:
[E0004]
         Structure/Union tag symbol expected
        ti_sy***ios_family_arm_m3_Hwi_Module__state__V .tag ti_sy***ios_family_arm_m3_Hwi_Module_State

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 73:
[E0004]
         Absolute, well-defined integer value expected
            .if ti_sy***ios_BIOS_mpeEnabled__D

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 73:
[R0001]
         After symbol substitution the line became:
            .if FALSE

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 99:
[E0004]
         Absolute, well-defined integer value expected
            .elseif ti_sy***ios_BIOS_mpeEnabled__D

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 99:
[R0001]
         After symbol substitution the line became:
            .elseif FALSE

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 259:
[E0009]
         Missing struct/union member or tag
        swiTaskKeyAddr:         .word           ti_sy***ios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 275:
[E0004]
         Absolute, well-defined integer value expected
            .if ti_sy***ios_BIOS_mpeEnabled__D

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 275:
[R0001]
         After symbol substitution the line became:
            .if FALSE

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at line 286:
[E0004]
         Absolute, well-defined integer value expected
            .if ti_sy***ios_BIOS_smpEnabled__D

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", REMARK   at line 286:
[R0001]
         After symbol substitution the line became:
            .if FALSE

"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/Hwi_asm.sv7M", ERROR!   at EOF:
[E0300]
         The following symbols are undefined:
  FALSE
  swiTaskKeys
  ti_sy***ios_family_arm_m3_Hwi_Module_State
  ti_sy***ios_family_arm_m3_Hwi_Module__state__V

Errors in Source - Assembler Aborted
gmake[1]: *** [m3_Hwi_asm.obj] Error 1
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sy***ios/family/arm/m3/TaskSupport_asm.sv7M ...
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sy***ios'
../src/makefile.libs:56: recipe for target '../src/sy***ios/sy***ios.aem4' failed
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sy***ios/sy***ios.aem4] Error 2
gmake: Target 'all' not remade because of errors.
**** Build Finished ****

实在不行有偿也行,感谢好人
  • 2.JPG
  • 2.JPG
已退回10积分

回帖(1)

小芽糖

2021-7-25 18:47:04
分析一下,谢谢,谢谢谢谢
举报

更多回帖

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