Hello, everyone!
I have a question about the h264venc.
I load the project in C:\ti\Codecs\C66x_h264venc_01_24_00_01_ELF\packages\ti\sdo\codecs\h264venc\App\Client\Build\TestAppEncoder.
I don't have the "Src","mkrel" and "make" folders, I think it is just an object/library release.
So I don't need to build the algorithm library.
I have a library file named h264venc_ti.le66 in C:\ti\Codecs\C66x_h264venc_01_24_00_01_ELF\packages\ti\sdo\codecs\h264venc\lib.
The version what I used is bios_6_33_06_50, framework_components_3_22_00_05 and xdctools_3_23_04_60.
It is different from that said in pdf named "H264_Encoder_C6678_UserGuide.pdf" in C:\ti\Codecs\C66x_h264venc_01_24_00_01_ELF\packages\ti\sdo\codecs\h264venc\Docs.
When I build the project, there are many errors.
The information in console is follows:
**** Build of configuration Debug_Mcore for project TestAppEncoder ****
C:\ti\ccsv5\utils\bin\gmake -k all 'Building file: ../H264VEncApp6678.cfg' 'Invoking: XDCtools' "C:/ti/xdctools_3_23_04_60/xs" --xdcpath="C:/ti/bios_6_33_06_50/packages;C:/ti/bios_6_33_06_50/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/ipc_1_24_03_32/packages;C:/ti/framework_components_3_22_00_05/examples;C:/ti/framework_components_3_22_00_05/packages;C:/ti/Codecs/C66x_h264venc_01_24_00_01_ELF/packages/ti/sdo/codecs/h264venc/App/Client/Build/Repository/Packages;C:/ti/ccsv5/ccs_base;C:/ti/edma3_lld_02_11_05_02/packages;C:/ti/xdais_7_21_01_07/examples;C:/ti/framework_components_3_22_00_05/xdoc;C:/ti/framework_components_3_22_00_05/packages;C:/ti/framework_components_3_22_00_05/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.custom66x -r whole_program -c "C:/ti/C6000 Code Generation Tools 7.2.4" "../H264VEncApp6678.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring H264VEncApp6678.pe66 from package/cfg/H264VEncApp6678_pe66.cfg ... useModule Settings: 6600 warning: ti.sysbios.BIOS: "C:/ti/bios_6_33_06_50/packages/ti/sysbios/BIOS.xs", line 453: Profile Deprecation Warning ti.sysbios.BIOS: The 'whole_program' build profile will not be supported in future releases of SYS/BIOS. Use 'release' or 'debug' profiles together with the 'BIOS.libType' configuration parameter to specify your preferred library. See the compatibility section of your SYS/BIOS release notes for more information. Auto-registering resource manager for EDMA3CHAN ti.sdo.fc.ires.nullresource: Requested profile 'whole_program' does not exist. Defaulting to the 'release' profile Inside EDMA3 RM getLibs will link with ti.sdo.edma3.rm:lib/tci6608-sim/66/release/edma3_lld_rm.ae66 ti.sdo.fc.ires.nullresource: Requested profile 'whole_program' does not exist. Defaulting to the 'release' profile Inside EDMA3 RM getLibs will link with ti.sdo.edma3.rm:lib/tci6608-sim/66/release/edma3_lld_rm.ae66 cle66 package/cfg/H264VEncApp6678_pe66.c ... lnke66 H264VEncApp6678.pe66 ...
INTERNAL ERROR: C:/ti/C6000C~1.4/bin/lnk6x experienced an unhandled exception
This is a serious problem. Please contact Customer Support with this message and a copy of the input file and help us to continue to make the tools more robust.
gmake.exe: *** [H264VEncApp6678.pe66] Error 2 js: "C:/ti/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake: *** [configPkg/compiler.opt] Error 1 gmake: Target `all' not remade because of errors.
**** Build Finished ****
And the problem window shows that there are errors in H264VEncApp.cmd file as follows.
Meanwhile, it also shows that there are unresolved symbols :
But in my cfg file, the code is follows:
var ECPY = xdc.useModule('ti.sdo.fc.ecpy.ECPY');
ECPY.persistentAllocFxn = "DSKT2_allocPersistent";
ECPY.persistentFreeFxn = "DSKT2_freePersistent";
So what should I do to solve this problem?
Meng