AnsweredAssumed Answered

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

Question asked by Karel Havlovic on Jul 18, 2013
Latest reply on Jan 18, 2016 by Bio_TICFSL

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

Outcomes