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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

631件の閲覧回数
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

ラベル(2)
0 件の賞賛
1 返信

424件の閲覧回数
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 件の賞賛