编译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:\ti\xdctools_3_25_03_72\packages\xdc\tools\configuro\template\compiler.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_72\gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72\gmake.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:\ti\xdctools_3_25_03_72\packages\xdc\tools\configuro\template\compiler.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_72\gmake.exe: *** Deleting file `package.mak'
xdctools_3_25_03_72\gmake.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
该如何解决