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.

I can't build AAC-LC encoder project

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am trying to work AAC-LC encoder with OMAP35x EVM. However I can't build AAC-LC encoder.

I downloaded "c64xplus_aaclcenc_1_20_005_production.exe" from C64xPlus_Audio_Codecs 1_00_001 Product Download Page.

Then I imported the project file "TestAppEncoder" on CCSv4, and tried to build it.

I have 4 errors as the following.

Severity and Description Path Resource Location Creation Time Id
could not open source file "std.h" TestAppEncoder TestAppEncoder.c line 9 
could not open source file "std.h" TestAppEncoder alg_create.c line 18 
could not open source file "std.h" TestAppEncoder alg_malloc.c line 38 
could not open source file "wav_reader.h" TestAppEncoder wav_reader.c line 8 

I can set the path for "wav_reader.h" because it is included in AAC-LC encoder folder. However "std.h" is not included in encoder folder.

How should I solve this issue? I can find same name files in some folders. I don't know which one is for AAC-LC encoder.

 

Please advise me.

 

Best regards,

Michi

  • Hi Michi,

    std.h is referred from BIOS directory.

    TestAppEncoder.pjt is referring this file from %BIOS_INSTALL_DIR%\packages\ti\bios\include. It should be available in CCSInstalled directory(ex: D:\CCStudio_v3.2\bios_5_31_03_17).

    Please Set BIOS_INSTALL_DIR as environmental variable or hardcode tha path in TestAppEncoder.pjt (Ex: D:\CCStudio_v3.2\bios_5_31_03_17\packages\ti\bios\include)

    Ram

  • Dear Ram-san,

    Thank you for your support.

    I have  one more question. I set the path C:\CCS4\bios_5_41_10_36 for std.h. And the error of std.h was gone.

    However, I encountered other error as the following.

    could not open source file "alg.h" TestAppEncoder alg_create.c line 19 
    could not open source file "alg.h" TestAppEncoder alg_malloc.c line 39 

    I could not find this file"alg.h" in anywhere. So I installed " codec_engine_3_21_00_19" for finding "alg.h".

    Finally I found it in codec_engine folder. And I set the path to the codec_engine fro "alg.h".

    However I had new 5 errors as the following.

    1) could not open source file "xdc/runtime/knl/SemProcess.h" D:/TI/codec_engine_3_21_00_19/packages/ti/sdo/ce/alg _alg.h line 43
    2) declaration is incompatible with "void ALG_activate(Int, ALG_Handle)"            of"D:/TI/codec_engine_3_21_00_19/packages/ti/sdo/ce/alg/alg.h") TestAppEncoder alg_malloc.c line 58
    3) declaration is incompatible with "void ALG_deactivate(Int, ALG_Handle)" (declared at line 162 of "D:/TI/codec_engine_3_21_00_19/packages/ti/sdo/ce/alg/alg.h") TestAppEncoder alg_malloc.c line 72 1317098856433 278
    4) identifier "UInt32" is undefined D:/TI/codec_engine_3_21_00_19/packages/ti/sdo/ce/alg alg.h line 146 1317098856433 274
    5) identifier "UInt32" is undefined D:/TI/codec_engine_3_21_00_19/packages/ti/sdo/ce/alg alg.h line 178 1317098856433 275

    Is "alg.h" that I set in path wrong? Which "alg.h" shoudl I use?

    Please adivse me.

    Best regards,

    Michi 

  • Dear Chirs-san,

    Thank you for reply. I understood that ALG library moved from XDAIS to Codec Engine framework.

    Best regards,

    Michi