JPElectric Posted July 14, 2014 Report Share Posted July 14, 2014 An inherited project has the following #includes in main.c: #include <stdio.h>#include <string.h>#include <stdlib.h> #include "xparameters.h"#include "xgpio.h"#include "xio.h"#include "xstatus.h"#include "xuartlite.h"#include "xtmrctr.h"#include "xintc.h"#include "xil_exception.h" ZAP 2.3.0 barfs on the Xilinx #includes: main.c:37:25: error: xparameters.h: No such file or directorymain.c:38:19: error: xgpio.h: No such file or directorymain.c:39:17: error: xio.h: No such file or directory... Hardwiring the paths complicated this, as the referenced #includes reference others: #include "/opt/Xilinx/14.7/ISE_DS/EDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_01_a/src/xgpio.h" results in: In file included from main.c:27:/opt/Xilinx/14.7/ISE_DS/EDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_01_a/src/xgpio.h:123:23: error: xil_types.h: No such file or directory/opt/Xilinx/14.7/ISE_DS/EDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_01_a/src/xgpio.h:124:24: error: xil_assert.h: No such file or directory/opt/Xilinx/14.7/ISE_DS/EDK/sw/XilinxProcessorIPLib/drivers/gpio_v3_01_a/src/xgpio.h:125:21: error: xstatus.h: No such file or directory Even if this worked, it is not evident which of the multiple versions of thevarious *.h files to reference (ppc405, microblaze, ppc440, cortexa9, ...) How are the Xilinx headers to be referenced in a ZAP project? There does notappear to be a place to specify the many directories where these files are located. Which ones should be included for the Papilio Pro? Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.