Jeremy Wood wrote:
> I'm trying to setup a project in Eclipse to reference the libraries
> that are in my LTIB setup. I have the most recent LTIB that Freescale
> provides for the i.MX35 Linux PDK. I've followed the instructions in
> Freescale's "AN3870 Developing an Application for the i.MX Devices on
> the Linux Platform" and successfully built and run a Hello World
> program on my i.MX35 Linux PDK.
>
> The issue that I'm running into is with trying to include some of the
> libraries included in LTIB. I can't figure out what paths to provide
> the project setup with to satisfy it. Here are the paths I've setup my
> project to look in:
>
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot/usr/include/
> ~/ltib/rootfs/usr/include/
>
> For example, I'd like to use libjpeg. I put "#include <jpeglib.h>" in
> my source code, and eclipse helpfully says it's not there. It sure
> looks like it's there in the file system.
>
> Regards,
>
> Jeremy Wood