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: 
Explorer
Explorer
480 Views
Registered: ‎06-22-2011

in petalinux 2017.2, where to search my own header file?

hi all,

 

In petalinux 2015.4, after creating my apps, I can put my header file and .c file in the same directory.

 

But in 2017.2, the compiler will complain that the header can't be found.

 

As I know, if i use

 

#include "f1.h"

 

the compiler should search for f1.h in the same directory as the source file at first.

 

So what is the search order for compiler in 2017.2?

 

 

regards

 

 

Chao

0 Kudos
2 Replies
Explorer
Explorer
442 Views
Registered: ‎06-22-2011

Re: in petalinux 2017.2, where to search my own header file?

 

why nobody answer this simple question?

 

 

 

0 Kudos
Contributor
Contributor
423 Views
Registered: ‎04-27-2018

Re: in petalinux 2017.2, where to search my own header file?

can you post the hole message?

0 Kudos