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 vlsidarshan
Visitor
4,643 Views
Registered: ‎10-05-2009

Hello Friends,

This is Darshan here,I am learning EDK & SDK tools. I need some clarification in SDK tool,

 

I am getting error during Project -> Build Project option.

 

The errors are

 

#include "mb_interface.h"  Error: mb_interface.h: No such file or directory

 

#include "xparameters.h" Error: xparameters.h: No such file or directory

 

microblaze_init_icache_range(0, XPAR_MICROBLAZE_0_CACHE_BYTE_SIZE); Error: 'XPAR_MICROBLAZE_0_CACHE_BYTE_SIZE' undeclared (first use in this function)

 

microblaze_init_dcache_range(0, XPAR_MICROBLAZE_0_DCACHE_BYTE_SIZE); Error:'XPAR_MICROBLAZE_0_DCACHE_BYTE_SIZE' undeclared (first use in this function)    main.c    raju    line 57    October 5, 2009 2:28:57 PM    42

 

How to overcome this? Please suggest me.

 

Regards,

Darshan

0 Kudos
2 Replies
Highlighted
Explorer
Explorer
4,634 Views
Registered: ‎08-29-2008

Re: Hello Friends,

Hi,

 

I think we need more information concerning your system:

- Did you build an entire system around the microblaze meaningful in XPS?

- Did you generate the corresponding libraries and BSPs in XPS?

 

Rgds,

Kai

0 Kudos
Instructor
Instructor
4,613 Views
Registered: ‎08-14-2007

Re: Hello Friends,

For system header files that are not in your project directory use the angle brackets

to get them from the standard source tree:

 

#include <xparameters.h>
#include <mb_interface.h>

 

Only use quotes to include your own header files that are in the project directory.

 

regards,

Gabor

-- Gabor
0 Kudos