[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Setting up an Eclipse Project to Link and Include Resources i
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Setting up an Eclipse Project to Link and Include Resources in LTIB |
Date: |
Sat, 18 Dec 2010 20:20:29 +0000 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Jim,
I've not tried this, but instead of ~ maybe you need the absolute path name?
Also you should not need to include the toolchain's include/library
paths as so long as you're picking up the toolchain, the toolchain will
know how to find them (in its internal search path).
Regards, Stuart
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