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.

Makefile for DM365 codecs/h264enc?

The code in /dvsdk_2_10_00_13/dm365_codecs_01_00_03/packages/ti/sdo/codecs/h264enc looks like it might be useful/informative/interesting.

Unfortunately, the Makefile in /dvsdk_2_10_00_13/dm365_codecs_01_00_03/packages/ti/sdo/codecs is out of date.  It references the DM355 and a different sub-directory structure.

1) Has this code been run against the DM365?

2) Is there a current Makefile?

[Update] Since this appears to be part of DVTB I tried rebuilding it.  <snip>   Does NOT appear to be part of DVTB.  That builds fine, but doesn't help with the codecs.]

Thx

  • Just got back to this again.  Found the "H.264 High Profile Encoder on DM365 User’s Guide" in /dvsdk_2_10_00_13/dm365_codecs_01_00_03/packages/ti/sdo/codecs/h264enc/docs.

    That led me to the makefile in /dvsdk_2_10_00_13/dm365_codecs_01_00_03/packages/ti/sdo/codecs/h264enc/apps/client/build/arm926.  I updated the top level makefile to reference that directory and updated rules.make per the User Guide, sect. 2.7,  "Building and Running the Sample Test Application on LINUX."

    That got me a step further.  Now when it tries to build the first file, ../../test/src/alg_control.c, I get:
    ../../test/src/alg_control.c:19:21: error: xdc/std.h: No such file or directory
    ../../test/src/alg_control.c:20:37: error: ti/sdo/fc/utils/api/alg.h: No such file or directory
    ../../test/src/alg_control.c:21:28: error: ti/xdais/ialg.h: No such file or directory

    I've found these files, but they're scattered around the SDK directory tree.  They appear to always be under a "packages" directory which suggests to me that all of these various bits of source should have installed to a common location.But they didn't.  And I haven't seen anything telling me to move them.

    1) Did I miss something during the install?

    2) Did the installer mess up?

    3) Has the directory structure changed?

    What's the best way to get htis so that it will compile?

    Any and all suggestions welcome...

  • Ahh, looks like the answer is "make clean" after updating the rules file.  Probably intuitive to Linux experts.  Updating the User's Guide would help the rest of us. 

    [User's Guide: "Open the command prompt at the sub-directory \packages\ti\sdo\codecs\h264dec\client\build\arm926 and type the command make."]