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 sixinglu
Visitor
9,147 Views
Registered: ‎01-08-2014

Unresolved inclusion in BSP

Although I see a similar thread, but the solution is not fit for me.

 

In my BSP #include <stdlib.h>, #include <sys/time.h> and #include <string.h> all turn out to be "Unresolved inclusion".

However, in my application src#include <stdlib.h> and #include <string.h>  works fine.

 

for example, in microbalze_0/libsrc/xilmfs_v1_00_a/src/mfs_filesys.c:

eample.JPG

 

My version of SDK is 14.6

Any idea how to fix this? Thank you!

0 Kudos
3 Replies
Scholar sampatd
Scholar
9,138 Views
Registered: ‎09-05-2011

Re: Unresolved inclusion in BSP

The code should compile fine. This type of error occurs when the preprocessor does not know where stdio.h exists. You may need to specify the filesystem path where stdio.h is located.

 

c_include_paths.png

Regards,

0 Kudos
Observer sajna.nadheema
Observer
4,005 Views
Registered: ‎02-02-2017

Re: Unresolved inclusion in BSP

Hello @sampatd,

 

 I encounter the same problem as @sixinglu, with the library <string.h>. But where do you find the path where it is located ?

 

Regards

0 Kudos
Highlighted
Visitor sixinglu
Visitor
3,996 Views
Registered: ‎01-08-2014

Re: Unresolved inclusion in BSP

Re-generate the bsp, the problem probably will be solved.
0 Kudos