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.

Linux/TDA2: TDA2xx compile opencl usecase error

Part Number: TDA2

Tool/software: Linux

i  wrote a usecase to use Alg_OpenClFrameCopy,the config file is:

UseCase: chains_openclFrameCopy

NullSource (A15) -> Decode -> Alg_OpenClFrameCopy (A15) -> VPE -> Display

And the Automatically generated  .h and .c files is :

typedef struct {
UInt32 NullSourceLinkID;
UInt32 IPCOut_A15_0_IPU1_0_0LinkID;
UInt32 IPCIn_IPU1_0_A15_0_0LinkID;
UInt32 DecodeLinkID;
UInt32 IPCOut_IPU1_0_A15_0_0LinkID;
UInt32 IPCIn_A15_0_IPU1_0_0LinkID;
UInt32 Alg_OpenClFrameCopyLinkID;
UInt32 IPCOut_A15_0_IPU1_0_1LinkID;
UInt32 IPCIn_IPU1_0_A15_0_1LinkID;
UInt32 VPELinkID;
UInt32 DisplayLinkID;

NullSrcLink_CreateParams NullSourcePrm;
IpcLink_CreateParams IPCOut_A15_0_IPU1_0_0Prm;
IpcLink_CreateParams IPCIn_IPU1_0_A15_0_0Prm;
DecLink_CreateParams DecodePrm;
IpcLink_CreateParams IPCOut_IPU1_0_A15_0_0Prm;
IpcLink_CreateParams IPCIn_A15_0_IPU1_0_0Prm;
AlgorithmLink_OpenClFrameCopyCreateParams Alg_OpenClFrameCopyPrm;
IpcLink_CreateParams IPCOut_A15_0_IPU1_0_1Prm;
IpcLink_CreateParams IPCIn_IPU1_0_A15_0_1Prm;
VpeLink_CreateParams VPEPrm;
DisplayLink_CreateParams DisplayPrm;
} chains_openclFrameCopyObj;

When I write a complete case to compile, I get the following error:

chains_openclFrameCopy_priv.h:103:8: error: unknown type name 'AlgorithmLink_OpenClFrameCopyCreateParams'
AlgorithmLink_OpenClFrameCopyCreateParams Alg_OpenClFrameCopyPrm;
^
In file included from chains_openclFrameCopy_priv.c:70:0:
chains_openclFrameCopy_priv.h:103:8: error: unknown type name 'AlgorithmLink_OpenClFrameCopyCreateParams'
AlgorithmLink_OpenClFrameCopyCreateParams Alg_OpenClFrameCopyPrm;

I have added a header file in chains_openclFrameCopy_priv.h,but it still error. 

#include <include/alglink_api/algorithmLink_openClframeCopy.h>

How can i resolve this problem?