- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
링크가 복사됨
2 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
