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: 
Visitor hr92
Visitor
6,497 Views
Registered: ‎04-04-2016

fatal error: bits/predefs.h: No such file or directory

Hi,

 

I was trying to build the opencv linux application example on SDK. I added the Root File System path (Linaro) and I tried to compile but I got this error:

 

...../features.h:324:26: fatal error: bits/predefs.h: No such file or directory
 #include <bits/predefs.h>
                          ^
compilation terminated.

0 Kudos
1 Reply
Explorer
Explorer
5,017 Views
Registered: ‎10-14-2015

Re: fatal error: bits/predefs.h: No such file or directory

Hi @hr92,

 

Please 

 

You needed the proper libc includes for 32-bit builds. if You are running a 64-bit machine. So you should use below commend

sudo apt-get install libc6-dev-i386

 

https://ubuntuforums.org/showthread.php?t=1877944

 

Thanks,
Sarada

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

0 Kudos