Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

Syntax error in "g729fpapi.h" in 7.0 IPP samples

Manjula_Reddy
Beginner
449 Views
Hi

I am using g729fpapi.h file in speech coding. When I copile my application I am facing the following errors.

\\g729fpapi.h(83) : error C2061: syntax error : identifier 'Ipp32s'
\\g729fpapi.h(85) : error C2061: syntax error : identifier 'Ipp32s'
\\g729fpapi.h(87) : error C2065: 'Ipp32s' : undeclared identifier
\\g729fpapi.h(87) : error C2065: 'pCodecSize' : undeclared identifier
\\g729fpapi.h(87) : error C2440: 'initializing' : cannot convert from 'int' to 'APIG729_Status'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
\\g729fpapi.h(93) : error C2061: syntax error : identifier 'Ipp8s'
\\g729fpapi.h(95) : error C2061: syntax error : identifier 'Ipp8s'
\\g729fpapi.h(97) : error C2143: syntax error : missing ',' before '*'
\\g729fpapi.h(97) : error C2059: syntax error : '*'
\\g729fpapi.h(99) : error C2143: syntax error : missing ',' before '*'
\\g729fpapi.h(99) : error C2059: syntax error : '*'
\\g729fpapi.h(101) : error C2143: syntax error : missing ',' before '*'
\\g729fpapi.h(101) : error C2059: syntax error : '*'

Please let me know What Iam missing or is there any issue in this header file.

Thanks,
Manjula Reddy
0 Kudos
4 Replies
Chao_Y_Intel
Moderator
449 Views

Hello Manjula,

could you also include IPP head file in your application?

#include

Thanks,
Chao
0 Kudos
Manjula_Reddy
Beginner
449 Views
HI Chao,

Thanks for your quick response.
I have included ipp.h and all its dependencies.

Now Iam facing the following linking errors.

Linking...
encg729fp.obj : error LNK2001: unresolved external symbol _VADGetSize
encg729fp.obj : error LNK2001: unresolved external symbol _VADInit
encg729fp.obj : error LNK2001: unresolved external symbol _VoiceActivityDetect_G729_32f

Couls you please help in this regard.

Thanks,
Manjula Reddy
0 Kudos
Manjula_Reddy
Beginner
449 Views
Hi

This got resolved. Sorry i did not add the "vadg729fp.c" to the project.
But I got the following errors in other project. I am using"ippsc.h" in that application.

\ippsc.h(2206) : error C2143: syntax error : missing ')' before 'constant'
\ippsc.h(2206) : error C2143: syntax error : missing ';' before 'constant'
\ippsc.h(2206) : fatal error C1004: unexpected end of file found

Please let me know do i need to include any headers or libs for this error.

Thanks
Manjula Reddy
0 Kudos
Chao_Y_Intel
Moderator
449 Views


Manjula,

There is Visual Stadio project file at: \speech-codecs\application\usc_speech_codec
Can you try to use that project file to build the sample code?

Thanks,
Chao

0 Kudos
Reply