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!


Locally included header not found

Posts: 29
Registered: ‎03-21-2017

Locally included header not found

[ Edited ]

How do I get Petalinux to find a new header file added to the application directory?

I added a new header file, same directory as the source file.

Petalinux will not build, states the header file does not exist.

Petalinux 2016.02

Xilinx Employee
Posts: 38
Registered: ‎06-27-2017

Re: Locally included header not found



Try adding below command in Application Make file instead adding it as a source file.



Let's consider that test is the applicationa and header file is in test/include then

try adding EXTRA_CFLAGS=-I <path of include file>