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.

how to build a xdais project for codec_engine

Other Parts Discussed in Thread: CCSTUDIO

hi all
i am studying the xdais standard.the software is ccs v3.3,and the configtion is C6412 Device Cycle Accurate Simulator.i think that the project in the codec_engine_1_10_01 is accord with the xdais standard.
so i build a videnc1.pjt.the file in the project is videnc1_copy.c、videnc1_copy_ti.h、videnc1_copy_ti_priv.h and affiliated head files,and the videnc1.tcf is copied from the figtest.tcf(the version is xdais_4.0d).but when rebuild all,there is errors.the compiling result is:
----------------------------  videnc1.pjt - Debug  ----------------------------
[videnc1.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages"  videnc1.tcf

[videnc1_copy.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/xdm/videnc1/Debug" -@"Debug.lkf" "videnc1_copy.c"
"videnc1_copy.c", line 51: warning: a value of type "XDAS_Int32 (*)(IVIDENC1_Handle, XDM_BufDesc *, XDM_BufDesc *, IVIDENC1_InArgs *, IVIDENC1_OutArgs *)" cannot be used to initialize an entity of type "XDAS_Int32 (*)(IVIDENC1_Handle, IVIDEO1_BufDescIn *, XDM_BufDesc *, IVIDENC1_InArgs *, IVIDENC1_OutArgs *)"

[videnc1cfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/xdm/videnc1/Debug" -@"Debug.lkf" "videnc1cfg.s62"

[videnc1cfg_c.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"C:/xdm/videnc1/Debug" -@"Debug.lkf" "videnc1cfg_c.c"

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_main                            C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/lib/bios.a64
>>   error: symbol referencing errors - './Debug/hellodsp.out' not built

>> Compilation failure

Build Complete,
  2 Errors, 1 Warnings, 0 Remarks.
how i do with it?

  • The file videnc1_copy.c is just the codec implementation.  To build an actual application you would need to use the video1_copy example in codec_engine_1_10_01/examples/apps/video1_copy.  You will find a file that defines the main() function, as well as another file that has the application body.

    Regards,

    - Rob