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: 
Observer rgallic_incjet
Observer
550 Views
Registered: ‎03-21-2017

Locally included header not found

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

0 Kudos
1 Reply
Moderator
Moderator
499 Views
Registered: ‎06-27-2017

Re: Locally included header not found

Hi,

 

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>

 

 

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos