10-05-2009 10:25 PM
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
10-06-2009 12:52 AM
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
10-06-2009 02:25 PM
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