TI中文支持网
TI专业的中文技术问题搜集分享网站

CCS9.3编译C:\ti\mcsdk_2_01_02_05\examples\ndk\helloWorld出错

使用10.1版本编译 C:\ti\mcsdk_2_01_02_05\examples\ndk\helloWorld 一直出错,没办法 只能把卸载的5.5和9.3 安装回来,看看编译是否可以

5.5比较离谱,编译提示RTSC product-type 'com.ti.biosmcsdk.mcsdk' is not recognized. Please install at least one product of this type.,在论坛里搜索该问题,真有人问题:e2echina.ti.com/question_answer/dsp_arm/c6000_multicore/f/53/t/118417?keyMatch=RTSC%20PRODUCT-TYPE%20COM%20TI%20BIOSMCSDK%20MCSDK%20IS%20NOT%20RECOGNIZED%20PLEASE%20INSTALL%20AT%20LEAST%20ONE%20PRODUCT%20OF%20THIS%20TYPE&tisearch=Search-CN-everything 按照这里的提示,下载软件MCSDK  01_01_00_02 安装后依然提示 RTSC product-type 'com.ti.biosmcsdk.mcsdk' is not recognized. Please install at least one product of this type. 这不等于没说吗…

再用9.3试试,下载了各种XDC版本和IPC版本和NDK版本,最后终于错误降到一个了,然后提示:

**** Build of configuration Debug for project helloworld_evmc6678l ****

"C:\\ti\\ccs\\utils\\bin\\gmake" -k all
Building file: "../helloWorld.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/pdk_C6678_1_1_2_5/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/mcsdk_2_01_02_05/demos;C:/ti/ccs/ccs_base;C:/ti/mcsdk_2_01_02_05;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "C:/ti/c6000_7.4.22" "../helloWorld.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring helloWorld.xe66 from package/cfg/helloWorld_pe66.cfg ...
cle66 package/cfg/helloWorld_pe66.c ...
Finished building: "../helloWorld.cfg"
 
Building file: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.22/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/c6000_7.4.22/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="helloWorld.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c"
Finished building: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/helloWorld.c"
 
Building file: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.22/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/c6000_7.4.22/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="platform_osal.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c"
Finished building: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/platform_osal.c"
 
Building file: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.22/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/c6000_7.4.22/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="resourcemgr.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c"
Finished building: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/resourcemgr.c"
 
Building file: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c"
Invoking: C6000 Compiler
"C:/ti/c6000_7.4.22/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/c6000_7.4.22/include" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi" --include_path="C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld" --diag_warning=225 --preproc_with_compile --preproc_dependency="udpHello.d_raw" --cmd_file="configPkg/compiler.opt" "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c"
Finished building: "C:/ti/mcsdk_2_01_02_05/examples/ndk/helloWorld/udpHello.c"
 
Building target: "helloworld_evmc6678l.out"
Invoking: C6000 Linker
"C:/ti/c6000_7.4.22/bin/cl6x" -mv6600 --abi=eabi -g --diag_warning=225 -z -m"helloworld_evmc6678l.map" -i"C:/ti/c6000_7.4.22/lib" -i"C:/ti/c6000_7.4.22/include" --reread_libs --warn_sections --xml_link_info="helloworld_evmc6678l_linkInfo.xml" --rom_model -o "helloworld_evmc6678l.out" "./helloWorld.obj" "./platform_osal.obj" "./resourcemgr.obj" "./udpHello.obj" -l"configPkg/linker.cmd" -llibc.a 
<Linking>undefinedfirst referencedsymbolin file-------------------------ti_sysbios_knl_Semaphore_create C:\ti\ndk_2_25_01_11\packages\ti\ndk\os\lib\os.ae66<task.oe66>ti_sysbios_knl_Semaphore_delete C:\ti\ndk_2_25_01_11\packages\ti\ndk\os\lib\os.ae66<semaphore.oe66>
 ti_sysbios_knl_Task_createC:\ti\ndk_2_25_01_11\packages\ti\ndk\os\lib\os.ae66<task.oe66>ti_sysbios_knl_Task_deleteC:\ti\ndk_2_25_01_11\packages\ti\ndk\os\lib\os.ae66<task.oe66>
error: unresolved symbols remain
 
error: errors encountered during linking; "helloworld_evmc6678l.out" not built
>> Compilation failure
makefile:136: recipe for target 'helloworld_evmc6678l.out' failed
gmake: *** [helloworld_evmc6678l.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

ti_sysbios_knl_Semaphore_create这几个错误猜测是和编译器相关的,
试了下Compiler version TI v7.4.22和Ti v8.3.5都是同样的错误,
10.1上自己按照helloworld写的程序用TI v8.3.6的编译器是可以通过编译的,测试好用。

Nancy Wang:

不要下各种版本,用SDK中包含的各个版本就行了。用 NDK 2.21.01.38 编译看看。

对照SDK release note中的需求再看一下。

bios_mcsdk_releasenotes_02_01_02.pdf

Lucius Green:

回复 Nancy Wang:

NDK 2.21.01.38导入不进去,导入的时候提示错误(CCS9.3):

An error occurred while collecting items to be installedsession context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).Problems downloading artifact: osgi.bundle,com.ti.rtsc.NDK.product_2.21.1.38,2.21.1.38.File has invalid content:C:\Users\dell\AppData\Local\Temp\signatureFile7969991158669985380.jarInvalid content:plugin.xmlThe file "plugin.xml" in the jar "C:\Users\dell\AppData\Local\Temp\signatureFile7969991158669985380.jar" has been tampered!

Lucius Green:

回复 Nancy Wang:

对了! 用这个可以编译成功!

赞(0)
未经允许不得转载:TI中文支持网 » CCS9.3编译C:\ti\mcsdk_2_01_02_05\examples\ndk\helloWorld出错
分享到: 更多 (0)