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

issue upgrading IPP 7 to IPP 9 (2017)

sumit_j_
Beginner
307 Views

HI,

I am working on to upgrade  my old IPP version to new one IPP 9(2017). I  am building my project with new API but facing issue in "ippi.h"

Old (IPP 7) ippi.h has- enum 

typedef enum {
    ippAlphaOver,
    ippAlphaIn,
    ippAlphaOut,
    ippAlphaATop,
    ippAlphaXor,
    ippAlphaPlus,
    ippAlphaOverPremul,
    ippAlphaInPremul,
    ippAlphaOutPremul,
    ippAlphaATopPremul,
    ippAlphaXorPremul,
    ippAlphaPlusPremul
} IppiAlphaType;

But latest  IPP 9 has removed it from ippi.h and placed it into ipptypes.h and modified ippi.h icludes like this-

#ifdef __cplusplus
extern "C" {
#endif

< some code realted to projects>

#include "ippbase.h"
#include "ipptypes.h"

#ifdef __cplusplus
}
#endif

When i am building I am seeing  errors like this-

\ipp\include\ippi.h(2403): error C2061: syntax error : identifier 'IppiAlphaType' (ippi.h)

\ipp\include\ippi.h(3294): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
\ipp\include\ippi.h(3294): error C2143: syntax error : missing ',' before '*'
 

Plz suggest me to solve this issue.

 

 

 

0 Kudos
2 Replies
Shaojuan_Z_Intel
Employee
307 Views

Hi,

So you are using latest IPP 2017 instead of IPP 9, right? If you look at here https://software.intel.com/en-us/node/503866, it is still ippi.h that needs to be included, not ipptypes.h

0 Kudos
sumit_j_
Beginner
307 Views

thank you..I have found my mistake after my post.

0 Kudos
Reply