cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
speedup
Observer
Observer
576 Views
Registered: ‎06-12-2019

xfOpenCV Colordetect build error (reVISION)

Hello, I'm following the tutorial https://github.com/Xilinx/SDSoC-Tutorials/tree/master/opencv-to-xfopencv-migration-tutorial , and I'm now at the point where I want to build the project. When I try to do so, I get the following errors: 

C:/x/zcu104-rv-ss-2018-3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux/usr/include\bits/wordsize.h:32:10: error: #include nested too deeply
#include <bits/wordsize.h>
^
C:/x/zcu104-rv-ss-2018-3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux/usr/include\bits/wordsize.h:36:2: error: "__WORDSIZE is not defined"
#error "__WORDSIZE is not defined"
^
C:/x/zcu104-rv-ss-2018-3/zcu104-rv-ss-2018-3/zcu104_rv_ss/sw/a53_linux/a53_linux/sysroot/aarch64-xilinx-linux/usr/include\bits/wordsize.h:59:2: error: "Unknown __WORDSIZE detected"
#error "Unknown __WORDSIZE detected"

(They are in line 227 in attached file) 

 

I have tried to delete everything and try over, and I have also copied the files directly from the tutorial to get them correct. 

 

I am using a 2018.3 version of SDx and Windows 10, will also try to run it on my ZCU104 board and not ZCU102. 

 

Thanks in advance

 

0 Kudos
1 Reply
wenchen
Moderator
Moderator
503 Views
Registered: ‎05-27-2018

Hi @speedup ,

   Refer to this post to see if there is any suggestions helpful.

 

Thanks,

Wen

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.


**~ Got a minute? Answer our Vitis HLS survey here! ~**


-------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos