我在ndk下编译c库到android中去,出现下面的错误,网上找了发现都不是我的这个问题啊  有遇到过得没有?

解决方案 »

  1.   

    把你的svc_type.h发来看看,153行,155行和162行
      

  2.   

    typedef void    (*Sub_P_svc)(short mv_cache [][2], short ref_cache [], const DATA * Block,  int mbPartIdx, short mv_l0[], short *ref_bas_l0, const NAL *Nal, REFPART RefPartition[16]);typedef void    (*P_svc)( short mv_cache [][2], short ref_cache [], const RESIDU *CurrResidu, const DATA *Block, const Sub_P_svc decode_sub[]
    , unsigned char dpb_luma[], unsigned char dpb_Cb[], unsigned char dpb_Cr[]
    , unsigned char image [], unsigned char image_Cb [], unsigned char image_Cr []
    , const short x, const short y, const short PicWidthInPix, const short PicHeightInPix
    , const NAL *Nal, LIST_MMO *RefPicListL0, short mv_l0[], short *ref_bas_l0, const STRUCT_PF *vectors, REFPART RefPartition[16]);
      

  3.   

    注意看const DATA * Block,
         const NAL *Nal和
         REFPART RefPartition[16]这个DATA,NAL,REFPART是什么类型?肯定在其他头文件中定义了,而你没有include进来啊,这样就会报这种错误了