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: 
Adventurer
Adventurer
138 Views
Registered: ‎12-09-2010

Vitis Bug: xil_types.h: No such file or directory when creating platform project on Windows

When I try to compile a platform project with Vitis 2019.2 on Windows for my hardware I get the following error messages when trying to compile the platform project:

"Compiling bram"

In file included from xbram.c:56:
xbram.h:132:10: fatal error: xil_types.h: No such file or directory
 #include "xil_types.h"
          ^~~~~~~~~~~~~
compilation terminated.
In file included from xbram_g.c:33:
xbram.h:132:10: fatal error: xil_types.h: No such file or directory
 #include "xil_types.h"
          ^~~~~~~~~~~~~
compilation terminated.
In file included from xbram_intr.c:52:
xbram.h:132:10: fatal error: xil_types.h: No such file or directory
 #include "xil_types.h"
          ^~~~~~~~~~~~~
compilation terminated.
In file included from xbram_selftest.c:68:
xbram.h:132:10: fatal error: xil_types.h: No such file or directory
 #include "xil_types.h"
          ^~~~~~~~~~~~~
compilation terminated.
xbram_sinit.c:53:10: fatal error: xstatus.h: No such file or directory
 #include "xstatus.h"
          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:20: libs] Error 1
make: *** [Makefile:30: microblaze_processor_system_microblaze_processor/libsrc/bram_v4_3/src/make.libs] Error 2

I can successfully compile the platform project on Linux. Somehow a lot of header files are not included in the MicroBlaze BSP project on Windows.

0 Kudos
2 Replies
Moderator
Moderator
125 Views
Registered: ‎11-04-2010

Re: Vitis Bug: xil_types.h: No such file or directory when creating platform project on Windows

For Vitis, only SDK feature is supported in windows operating system.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Adventurer
Adventurer
59 Views
Registered: ‎12-09-2010

Re: Vitis Bug: xil_types.h: No such file or directory when creating platform project on Windows

What do you mean by only SDK feature is supported on Windows? This is a project I ported from Xilinx SDK to Vitis. It uses a MicroBlaze processor and the platform project was created with standalone as operating system. Is there an overview somewhere which features are supported on which platform?