How to include header files to the code and use Eclipse for editing?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to include header files to the code and use Eclipse for editing?

601 Views
KarelH
Contributor II

Hello I'm working with i.MX53QSB (loco board) with Linux. I'm successfully using LTIB.

I would like to use Eclipse for writing application, but I have some problems.

I have configured the Eclipse like it is described in the Application note "Developing an Application for the i.MX Devices on the Linux Platform" here: http://cache.freescale.com/files/dsp/doc/app_note/AN3870.pdf

When I include some standard file like #include <linux/input.h> there is no problem. But I would like to include another files for example /<LTIB_PATH>/rpm/BUILD/linux/include/linux/pmic_external.h in this case there are compile errors.

Maybe the problem is that #include <linux/input.h> includes /usr/include/linux/input.h not /<LTIB_PATH>/rpm/BUILD/linux/include/linux/input.h

There are probably missing some compiler parametters, but I'm not able to solve it.

Please, could anyone help?

Karel

Message was edited by: Karel Havlovic

Labels (2)
0 Kudos
1 Reply

394 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Karel,

For i.Mx53 There is no much ltib development anymore, if you like to move to Yocto, Please take a look at:

Using Eclipse IDE with Yocto SDK · gumstix/yocto-manifest Wiki · GitHub

and

O.S. Systems

Hope this help

0 Kudos