ltib
[Top][All Lists]
Advanced

[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: Jeremy Wood
Subject: Re: [Ltib] Setting up an Eclipse Project to Link and Include Resources in LTIB
Date: Tue, 28 Dec 2010 12:39:36 -0800

I figured out what I was missing—I needed to add an instruction to the linker to use the libjpeg libraries.

So, I added "-ljpeg" to the linker flags, and problem solved.

Probably an extremely newbie problem, but that's what I am in this environment.

Regards,

Jeremy Wood

On Sat, Dec 18, 2010 at 12:20 PM, Stuart Hughes <address@hidden> wrote:
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]