TI论坛
直播中

刘悦竹

7年用户 195经验值
私信 关注
[问答]

编译自带h264hpvenc的demo时出现的错误,请问该怎么解决?

编译h264hpvenc时,编译错误,编译信息如下

**** Build of configuration Debug for project h264hpvenc_ti_c66x ****
"C:\ti\ccsv5\utils\bin\gmake" -k all
'Building file: ../h264hpvenc.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_03_72/xs" --xdcpath="C:/ti/Codecs/C66x_h264hpvenc_01_00_03_00_ELF/packages/ti/sdo/codecs/h264hpvenc/App/Client/Build/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/edma3_lld_02_11_05_02/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/framework_components_3_23_02_16/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/ipc_1_25_03_15/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/bios_6_35_04_50/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/xdais_7_23_00_06/packages;C:/ti/ccsv5/ccs_base;C:/ti/xdais_7_23_00_06/packages;C:/ti/xdais_7_23_00_06/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p C6678EVM -r release -c "/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6" --compileOptions "-g --optimize_with_debug" "../h264hpvenc.cfg"
making package.mak (because of package.bld) ...
js: "C:tixdctools_3_25_03_72packagesxdctoolsconfigurotemplatecompiler.opt.xdt", line 57: Error: template generation of 'compiler.opt' failed: Error: /home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6 cannot be found. Ensure that rootDir for the C66 target is set correctly in ./config.bld
"./package.bld", line 52
xdctools_3_25_03_72gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72gmake.exe: *** No rule to make target `.configuro'. Stop.
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/edma3_lld_02_11_05_02/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/framework_components_3_23_02_16/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/ipc_1_25_03_15/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/bios_6_35_04_50/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/xdais_7_23_00_06/packages" on package path does not exist
js: "C:/ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****

Description Resource Path Location Type
template generation of 'compiler.opt' failed: Error: /home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6 cannot be found. Ensure that rootDir for the C66 target is set correctly in ./config.bld .xdchelp /h264hpvenc_ti_c66x line 57 C/C++ Problem

是编译器的版本问题吗?


安装TI_CGT_C6000_7.4.6之后,进行编译,又有如下错误:

**** Build of configuration Debug for project h264hpvenc_ti_c66x ****
"C:\ti\ccsv5\utils\bin\gmake" -k all
'Building file: ../h264hpvenc.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_25_03_72/xs" --xdcpath="C:/ti/Codecs/C66x_h264hpvenc_01_00_03_00_ELF/packages/ti/sdo/codecs/h264hpvenc/App/Client/Build/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/edma3_lld_02_11_05_02/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/framework_components_3_23_02_16/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/ipc_1_25_03_15/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/bios_6_35_04_50/packages;/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/xdais_7_23_00_06/packages;C:/ti/ccsv5/ccs_base;C:/ti/xdais_7_23_00_06/packages;C:/ti/xdais_7_23_00_06/examples;C:/ti/bios_6_35_04_50/packages;C:/ti/edma3_lld_02_11_05_02/packages;C:/ti/framework_components_3_23_02_16/packages;C:/ti/framework_components_3_23_02_16/examples;C:/ti/mcsdk_2_01_02_06/demos;C:/ti/pdk_C6678_1_1_2_6/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p C6678EVM -r release -c "/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6" --compileOptions "-g --optimize_with_debug" "../h264hpvenc.cfg"
making package.mak (because of package.bld) ...
js: "C:tixdctools_3_25_03_72packagesxdctoolsconfigurotemplatecompiler.opt.xdt", line 57: Error: template generation of 'compiler.opt' failed: Error: /home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6 cannot be found. Ensure that rootDir for the C66 target is set correctly in ./config.bld
"./package.bld", line 52
xdctools_3_25_03_72gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72gmake.exe: *** No rule to make target `.configuro'. Stop.
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/edma3_lld_02_11_05_02/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/framework_components_3_23_02_16/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/ipc_1_25_03_15/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/bios_6_35_04_50/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/xdais_7_23_00_06/packages" on package path does not exist
js: "C:/ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****

Description Resource Path Location Type
template generation of 'compiler.opt' failed: Error: /home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/TI_CGT_C6000_7.4.6 cannot be found. Ensure that rootDir for the C66 target is set correctly in ./config.bld .xdchelp /h264hpvenc_ti_c66x line 57 C/C++ Problem
该如何解决

回帖(2)

杨娟

2018-8-3 07:03:38
如下提示,编译相关的模块如xdc tools,ipc及bios等在你指定的路径都没有找到,需要根据你电脑上安装的目录重新设定相应的环境变量。
xdctools_3_25_03_72gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72gmake.exe: *** No rule to make target `.configuro'. Stop.
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/edma3_lld_02_11_05_02/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/framework_components_3_23_02_16/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/ipc_1_25_03_15/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/bios_6_35_04_50/packages" on package path does not exist
Warning: directory "C:/home/a0868396/builds/DEV.H264HP.E.C6678.01.00.03.00/tools/xdais_7_23_00_06/packages" on package path does not exist
                                                                          

举报

刘悦竹

2018-8-3 07:09:47
引用: zbb9612 发表于 2018-8-3 07:03
如下提示,编译相关的模块如xdc tools,ipc及bios等在你指定的路径都没有找到,需要根据你电脑上安装的目录重新设定相应的环境变量。
xdctools_3_25_03_72gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72gmake.exe: *** No rule to make target `.configuro'. Stop.

已解决 非常感谢
举报

更多回帖

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