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.

[参考译文] CCS/CCStudio-WCS:不生成Simplelink示例

Guru**** 657500 points
Other Parts Discussed in Thread: CC1350
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/579331/ccs-ccstudio-wcs-simplelink-example-does-not-build

部件号:CCStudio-WCS
主题:CC1350中讨论的其它部件

工具/软件:Code Composer Studio

你好

我尝试构建不同的简化示例,但总是收到相同的错误消息:“生成的源库失败:退出状态=2”

我在论坛上查看,发现了关于同一主题的不同问题,但我无法解决问题。

已安装的版本:

CCS:7.1 .............................................0

Simplelink CC13xx SDK:1.0 .0.13

XDC工具:3.50 .1.12

Windows 7 SP1  

r**配置调试用于项目tirtos_builds_CC1350_LAUNCHXL_RELEASE _CCS ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k all
'building file:./release.cfg'
调用:xdctools'C:\xt/xdctools_3_cru_13_spir.cd_cr./cr_sp_-xf_-x_x_xf_cr_x_xf_xf_xf_xf_xf_dsc/cr_-/cr_-xf_xf_13
ti.platforms.simplelink:CC1350F128 16.9 -xf_l_l_dsc/cr_l_l_x_xf_xf_xf_xf_x_xf_dsc/cr_-x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x_x00_l_l_l_l_l_cr_x00/cr_xf_l_xf_xf_x_x

release_pem3.cfg
C:/ti/xdctools_3_50_01_12_core/xs -Dxdc.path="C:/ti/simplelink_cc13x0_sdk_1_00_00_13/source;C:/ti/simplelink_cc13x0_csk_1_00_13/kernel/tos/packages;C:3/ccx_3/cce_tran_3/ccx01_cc_ccx0_k_x_x_x01_cd___x_3/c_x_tools. -Dxdc.root=C:/ti/xdc3tools_3_50_01_12_core -Dxdc.Hostos=Windows -Dconfig.importPath=".;C:/ti/simplelink_cc13x0_sdk_1_00_00_00_sdk_13/smld_xcd_13/c_library_cd_cd_cd_x_cdrs/x_cdrs/x_xcr_3/cr_3/cr_3_x_m_/cr_/cr_x_x_/cr_3_/cr_/cr_/x_x_/cr_/cr_/x_/x_/x_/x_/x_/x_/x_/cr_/x_/x_/cr_x_x_x_x_x_x_x_x_/x_/cr_x_/cr_x_/x_x_//x_x_x_x_/_///////////////////_/_/ xdc.cfg release_pem3.cfg

正在开始生成库源...
CD C:/Users/scp/workspace_v7/tirtos_build_CC1350_LAUNCHL_release_CCS/src.
C:/ti/xdctools_3_50_01_12_core/gmake.exe -f C:/users/scp/workspace_v7/tirtos_builds_CC1350_LAXL_release_CCS/src="/makefile.libs GEN_SRC_DIR=C:/Users/scp/workspace_v7/tos_builds_c1350_l_lav_cs_l/cr_lav_l_cr_l_l_l_cr_l_cr_gu_l_l_l_l_l_l_l_cr_cr_l_l_cr_gu_gu_l_l_l_cr_l_l_l_cr_l_l_l_l_

核心库构建失败。
subdir_rules.mk:12: recipe for target 'build-6296.9583万-InProc' failed
c:\temp/make1.0792万-1.sh:语法错误:“(”意外
gmake:***[C:\Users/scp/CS_v7/tir_builds_builds_cs_x792-1.sh:“
错误:”DC_x203/x_x_xm/db_x_x_x:错误:


xdctools_3_50_01_12_core\gme.exe:***[package/cfg/release_pem3.xdl]错误1
xdctools_3_50_01_12_core\gme.exe:***删除文件`package/cfg/release_pem3.xfx_gfx_gfx_my_gfx_gm3':
`
:`版本

:gmxgmxgfxgfxgfx_ex_ex_ex_ex_ex_gm3_ex_ex_gm3_ex_ex_gm3_gmfxgm3_ex_ex_ex_ex_gm3_ex_ex_ex_ex_ex_gm3_ex_ex_ex_ex-gmf_ex-gmf_ex_gm3_gm3_ex_ex_ex_gm3_ex_ex_ex_ex-gmf_ex_ex_ex-gm3_ex_ex_ex_ex_ex_gmf_g

目标'configPkg/linker.cmd'由于错误而未重制。
gmake:***[All]错误2
subdir_rules.mk:9:目标'build_6296.9583万'的配方失败
makefile:127:目标'all'的配方失败

****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,

    您尝试构建了哪些项目? 我测试了TI-RTOS bigtime和rfpacketrx,它们都很适合我。

    实际上,我刚刚发现了一个不同之处:配套项目<tirtos_builds_CC1350_LAUNCXL_RELEASE _CCS>是使用XDC工具3.32 .01.22 构建的。

    ****配置调试项目tirtos_builds_CC1350_LAUNCHXL_RELEASE _CCS ****
    
    "C:\\CCSv7\\utils\\bin\\gmake"-k -j 4 all -O
    'building file:./release.cfg'
    调用:xdctools'C:/utils\bin\\config_gmc_sp_gm3_sp_sp_f4 -x_sp_sp_4 -ccx_x_sp_x_sp_x_sp_sp_sp_re_x7_sp_sp_sp_sp_sp_sp_sp_x7_sp_sp_sp_sp_sp_-x_x7_sp_sp_sp_-x_sp_-x_x_x_x_x_x_x_x_x_sp_x7_sp_sp_sp_x_l_sp_sp_x_x_x_x_x_l_sp_x_sp_sp_sp_x_x_sp_sp_l_sp_x_-f_x_x_
    ti.platforms.simplelink:CC1350F128 16.9 compileOptions "-DDEVICE_family=cc13x0 "./release.cfg"
    making package.mak (因为package.Bld)...
    正在生成packageconfigPkg的接口(因为package/package.xdc.inc比package.xdc旧)...
    正在从package/cfg/release_pem3.cfg配置release.xem3 ...
    正在生成自定义ROM库makefile ...
    开始构建库源...
    创建C:\Users/a35.6111万/workspace_v7_1/tirtos_builds_CC1350_LAUNCXL_release_csc/SysBIOS/ROM_SysBIOS.aem3...
    gmake[1]:1350 gmake[1]:进入目录`C:\Users/a35.6111万/workspace_v7_1/ti_simplink_l_l_sl_sysbios_sl_sim_l_sysbs_l_l_l_sys_linux_membos_l_l_l/crm/13_l_l_memtos_l_l_l_membs_l_l_l_l_l_refl_13_ccti_ccti_ccti_l_l_l_ccti_l_l_l_l_ccti_l/crm/ccti_ccti_l_l_l_l_l_l_l_l_l_l_l_l_l_crm/ccti_l_l_l_l_l_13_memtosk_l_l_cr
    
    
    
    
    
    
    `
    
    
    'finished building:../release.cfg'
    'gmake[1]
    :'main-build'没有任何操作。
    
    ****构建已完成****
    

    在这种情况下,我会更改此项目的XDC工具,使其与上述版本相匹配(SDK应该已安装此工具)。  

    希望这能有所帮助,

    拉斐尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    感谢您的回答。 我将XDC工具更改为3.32 .1.22 版本。 但错误仍然相同。

    ***
    
    
    
    
    ti.platforms.simplelink:CC1350F128 -build of configuration Debug for project tirtos_builds_CC1350_LAUNCHXL_RELEASE _CCS ****"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k -j 8 all -O 'building file:./release.cfg''cscp_extr_cscs 'sb_l_sp_l_13 16.9 :cd_x00/cscr_link_l_l_x00/r-ccti_sp_ctrack_13:
    release_pem3.cfg cd_l_cscr.cr_l_l_l_l_x00/cr-x_x_x_x00_link_l_sp_sp_sp_sp_x00/cr-x_x_l_cscr-x00_l_l_l_l_cscr_l_l_l_sp_sp_x00/cr-cscr-/cr-x_x00_l_l_sp_sp_-x00_cscr_l_l_-/cr-x_x_x_
    
    正在开始生成库源...
    CD C:/Users/scp/workspace_v7/tirtos_build_CC1350_LAUNCHL_release_CCS/src.
    C:/ti/xdctools_3_32_01_22_core/gmake.exe -f C:/users/scp/workspace_v7/tirtos_builds_CC1350_LAXL_release_CCS/src="/makefile.libs GEN_SRC_DIR=C:/Users/scp/workspace_v7/tos_builds_c1350_l_lav_cr_bios_l/cr_lav_l_l_cr_l_l_cr_l_l_lav_l_l_cr_l_l_cr_cr_l_l_gu_l_l_l_cr_l_l_l_l_cr_l_gu_l_cr_l_
    
    库构建失败。
    subdir_rules.mk:12:目标'build-6296.9583万-InProc'的配方失败
    C:/Users/scp/AppData/local/temp/make3340-1.sh:1:语法错误:“(”
    Sysgmake:***[C:/Users/scp/workspace_v7/tir/dir/temp/temp/temp/temp_x/make_db_sr_x32x_x_x_sr_x_x界
    
    
    :库:错误:编译x32_dc32_x_x_x_x_x_x界:
    xdctools_3_32_01_core\gme.exe:***[package/cfg/release_pem3.xdl]错误1
    xdctools_3_32_01_22_core\gme.exe:***删除文件`package/cfg/release_pem3.xdl_p_gmy_gfx_gmy_gfx_gfx:
    `
    :`m32_ex_ex_gm32_reml/release_gm32_ex_ex_ex_gm32_ex_ex_ex_gm32_gm32_gm32_ex_gm32_ex_ex_gm32_ex_gm32_ex_ex_ex-myr_ex_ex_ex-gm32_ex_gm32_ex_ex_gm32_ex_gm32_ex_gm32_ex_ex-gm32_ex_ex_ex-myr_ex_ex_ex_ex_ex-gm32_ex-gm32_ex_ex_gm32_g
    
    
    
    目标'configPkg/linker.cmd'由于错误而未重制。
    gmake:***[All]错误2
    subdir_rules.mk:9:目标'build_6296.9583万'的配方失败
    makefile:127:目标'all'的配方失败
    
    ****构建完成****
    

    如果使用以下命令手动生成库:

    CD C:/Users/scp/workspace_v7/tirtos_build_CC1350_LAUNCHL_release_CCS/src.
    C:/ti/xdctools_3_32_01_22_core/gmake.exe -f C:/users/scp/workspace_v7/tirtos_builds_CC1350_LAHXL_release_CCS/src="/makefile.libs GEN_SRC_DIR=C:/Users/scp/workspace_v7/tirms_csc_builds_cscrcs_release_c1350_cr_src_release_cscr_cr_sp_

    然后生成库时不会出错。