首页 > 技术文章 > vivado sdx 綜合報錯ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling 'aarch64-linux-gnu-g++ -c

leebin7777 2019-10-23 13:42 原文

ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling 'aarch64-linux-gnu-g++ -c

主函數 添加 頭文件 #include "sds_lib.h"

 

error :sds_alloc  與 malloc

#include <stdlib.h>

 

//error :---------------------
//error: cannot convert ‘AXI_PIXEL* {aka ap_axiu<32, 1, 1, 1>*}’ to ‘AXI_PIXEL (*)[1920]
// {aka ap_axiu<32, 1, 1, 1> (*)[1920]}’ for argument ‘1’ to 
//‘void sobel_filter(AXI_PIXEL (*)[1920], AXI_PIXEL (*)[1920], int, int)’
 

 #pragma SDS data copy(inter_pix[0:MAX_WIDTH*MAX_HEIGHT], out_pix_row[0:MAX_WIDTH*MAX_HEIGHT],out_pix_col[0:MAX_WIDTH*MAX_HEIGHT])

推荐阅读