cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
527 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
Highlighted
Explorer
Explorer
489 Views
Registered: ‎06-22-2011

 

why nobody answer this simple question?

 

 

 

0 Kudos
Highlighted
Contributor
Contributor
470 Views
Registered: ‎04-27-2018

can you post the hole message?

0 Kudos