UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
731 Views
Registered: ‎11-22-2018

SDSOC2018.3添加kcf代码,出现arm_neon.h error: unknown type 问题

环境: SDSOC 2018.3,zcu102-rv-ss-2018-3,xfopencv2018.3

 

以下粘贴部分log:

 

D:/program/XilinxSDSoC2018.3/SDK/2018.3/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.3.1/include\arm_neon.h:39:9: error: unknown type name '__Int32x2_t'; did you mean '__int32_t'?
typedef __Int32x2_t int32x2_t;
^~~~~~~~~~~
__int32_t
D:\program\XilinxSDSoC2018.3\zcu102-rv-ss-2018-3\zcu102-rv-ss-2018-3\zcu102_rv_ss\sw\a53_linux\a53_linux\sysroot\aarch64-xilinx-linux\usr\include\bits/types.h:40:20: note: '__int32_t' declared here
typedef signed int __int32_t;
^
D:/program/XilinxSDSoC2018.3/SDK/2018.3/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.3.1/include\arm_neon.h:40:9: error: unknown type name '__Int64x1_t'; did you mean '__int64_t'?
typedef __Int64x1_t int64x1_t;
^~~~~~~~~~~
__int64_t
D:\program\XilinxSDSoC2018.3\zcu102-rv-ss-2018-3\zcu102-rv-ss-2018-3\zcu102_rv_ss\sw\a53_linux\a53_linux\sysroot\aarch64-xilinx-linux\usr\include\bits/types.h:43:25: note: '__int64_t' declared here
typedef signed long int __int64_t;
^
D:/program/XilinxSDSoC2018.3/SDK/2018.3/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.3.1/include\arm_neon.h:41:9: error: unknown type name '__Float16x4_t'
typedef __Float16x4_t float16x4_t;
^
D:/program/XilinxSDSoC2018.3/SDK/2018.3/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.3.1/include\arm_neon.h:42:9: error: unknown type name '__Float32x2_t'
typedef __Float32x2_t float32x2_t;
^
D:/program/XilinxSDSoC2018.3/SDK/2018.3/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.3.1/include\arm_neon.h:43:9: error: unknown type name '__Poly8x8_t'

QQ浏览器截图20190112150739.png
0 Kudos
1 Reply
Teacher xilinxacct
Teacher
700 Views
Registered: ‎10-23-2018

Re: SDSOC2018.3添加kcf代码,出现arm_neon.h error: unknown type 问题

@yyt

Others with the same problem used this... https://forums.xilinx.com/t5/SDSoC-Environment-and-reVISION/xfopencv-include-hls-opencv-h-throw-errors/td-p/922252

Hope that helps

If so, please mark as solution accepted.