Xilinx / xfopencv

Other
328 stars 143 forks source link

When I xf_median_blur example,I meet this error! #26

Closed 444903935 closed 5 years ago

444903935 commented 5 years ago

INFO: [DMAnalysis 83-4494] Analyzing hardware accelerators... ERROR: [DMAnalysis 83-4432] An unsupported inferred interface type (ap_memory) was detected for the port p_src_data_V_q0 (name maybe encoded) of accelerator median_blur_accel. Near D:/WZZ/SDx_workspace/xf_opencv_medianblur/src/xf_median_blur_accel.cpp:32 [SUGGESTION]: Please check the argument declaration. For array, we recommend linearized array type or pointer type enhanced with pragmas as needed. Please refer to documentation on Pragma SDS data. Data motion generation exited with return code 1

How can I solve it?Thanks.

bgouthamb commented 5 years ago

Please check the function you have marked for hardware acceleration. "median_blur_accel" is a wrapper function. "xf::medianBlur" is the function to be moved to hardware.

444903935 commented 5 years ago

The problem now is that I can't find "xf::medianBlur". And I found that I can't add the xfopencv library to the include. I have set the xfopencv library path in the C++ Build Setting->SDS++ Compiler-> Directories.The value is "D:/WZZ/xfopencv-master/include". I am sure the path I added is correct.

444903935 commented 5 years ago

OK now! Thanks. I find "xf::medianBlur" in "lib" instead of "include".