我把工程复制到别的电脑上面 重新安装CCS之后;发现编译失败

Other Parts Discussed in Thread: CC1310, SYSBIOS


**** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****

"D:\\TTZC\\CCS_INSTALL\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
 
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_02_21_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_3_10_00_11/source;C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "D:/TTZC/CCS_INSTALL/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../release.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
clem3 C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
asmem3 C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem3 C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem3 C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem3 C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
process_begin: CreateProcess(NULL, D:/TTZC/CCS_INSTALL/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armar rq rom_sysbios.aem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/rom/cortexm/cc13xx/golden/CC13xx/rom_sysbios_config.obj, ...) failed.
make (e=2): 系统找不到指定的文件。
 
gmake[1]: *** [makefile:66: rom_sysbios.aem3] Error 2
gmake: *** [D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/makefile.libs:57: D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1317695535-inproc] Error 1
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_02_21_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_3_10_00_11/source;C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "D:/TTZC/CCS_INSTALL/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../release.cfg"
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
arem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
process_begin: CreateProcess(NULL, D:/TTZC/CCS_INSTALL/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/bin/armar rq rom_sysbios.aem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj C:/ti/simplelink_cc13x0_sdk_3_10_00_11/kernel/tirtos/packages/ti/sysbios/rom/cortexm/cc13xx/golden/CC13xx/rom_sysbios_config.obj, ...) failed.
make (e=2): 系统找不到指定的文件。
 
gmake[1]: *** [makefile:66: rom_sysbios.aem3] Error 2
gmake: *** [D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/makefile.libs:57: D:/TTZC/TI_workspace/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_51_02_21_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem3.xdl] Error 1
xdctools_3_51_02_21_core\gmake.exe: *** Deleting file 'package/cfg/release_pem3.xdl'
xdctools_3_51_02_21_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.h'
xdctools_3_51_02_21_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file 'package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_51_02_21_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1317695535-inproc] Error 1
gmake[1]: *** [build-1317695535] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2
subdir_rules.mk:9: recipe for target 'build-1317695535' failed
makefile:127: recipe for target 'all' failed

**** Build Finished ****

这是我 的log,我换了个电脑,也重新安装了simplelink_cc13x0_sdk_3_10_00_11;然后我工程是 resource explore 导入的;现在 该怎么解决这个问题呢?

  • 复制工程的话,建议您在CCS的project explorer中,右键该工程名称,然后选择复制,再选择黏贴,这个时候就能够有个copy的版本出来,然后再修正一下头文件路径,编译即可。

    源文件都搜索不到的话,您可以在工程里把它删掉,然后重新添加进来。或是右键该源文件,试试重新设置查找地址也应该可以。
  • 后来解决了吗,一般这种情况是工程配置里的路径跟转移后的不在同一个路径,你可以看看,提示找不到的东西是不是真的不在那个路径里,在工程配置里可以设置的。另外复制工程前最好先清理工程,把编译的中间文件都清理掉。
  • 您好,按照您的方法从Project explorer复制工程到其他电脑上后,打开后编译存在问题,请问怎么更改头文件的路径?

  • 之前的帖子已经结贴了,请您将您的问题重新描述后发新帖,谢谢

    另外您若是使用图片的话,请以附件形式上传,谢谢