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.

#20 identifier "Int" is undefined

Hi, i have just began using CCS (last version). I simply create a project and started with including just "stdio.h" and printing hello world, it worked on my beagleboard Xm 's DSP. But when i include "ih264venc.h" it gives 26 errors: 


#93 identifier-list parameters may only be used in a function definition deneme line 754, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\ialg.h C/C++ Problem

#91 function returning function is not allowed deneme line 1217, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\dm\xdm.h C/C++ Problem

#80 expected a type specifier deneme line 1217, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\dm\xdm.h C/C++ Problem

#20 identifier "Void" is undefined deneme line 1198, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\dm\xdm.h C/C++ Problem

#20 identifier "Uns" is undefined deneme line 138, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\ialg.h C/C++ Problem

#20 identifier "Uint8" is undefined deneme line 62, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Uint32" is undefined deneme line 70, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Uint16" is undefined deneme line 68, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Int8" is undefined deneme line 65, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Int32" is undefined deneme line 69, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Int16" is undefined deneme line 67, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\xdas.h C/C++ Problem

#20 identifier "Int" is undefined deneme line 139, external location: C:\ti\xdais_7_21_01_07\packages\ti\xdais\ialg.h C/C++ Problem

Finally here is my code: 

#include "stdio.h"
#include <ih264venc.h>

void main(void){
printf("Hello World!\n");
}

How can i fix this? Please tell me by knowing i am newbie.

  • Hi,

    These data types are usually defined in an include file provided with DSP/BIOS (a dependency required by the h264 codec package you are using): the file <tistdtypes.h>

    In a typical CCSv5.2 installation, this file is located at:

    C:\ti\bios_5_41_13_42\packages\ti\bios\include

    That said, typically these codec packages have several dependencies and specific versions that need to be installed and correctly configured before this codec can be used. I strongly suggest reading the software package documentation and refer to the codec forum if any questions arise (we at CCS forum are not experts in the codec itself).

    Hope this helps,

    Rafael