[Anjuta-list] SOLVED : Re: Adding a library - no pkg-config or autoconf



Replying to myself, I added the necessary libraries to the compile
options and it compiled. I'm still not sure if that is the correct
way.

Project Browser, select the target, right click to get "Target
Properties", click the Advanced button and add the libraries in the
appropriate place.

Then I regenerated the project - not sure if that was necessary.

Cheers,

Cliff

On Sun, Jan 25, 2009 at 2:12 PM, Cliff Pratt <enkiduonthenet gmail com> wrote:
> I'm trying to add a library manually to a project, as in the
> documentation section 4.1.3
> (http://anjuta.org/documentations/subpage/documents/C/anjuta-build-tutorial/c808.html#library-autotools-lame)
>
> The library I am trying to add is mysql++. I've added the lines to
> Makefile.am but when I run the first command shown (cd . && /bin/sh
> /home/cliffp/anjuta-projs/src/missing --run automake-1.10 --foreign
> Makefile) I get the messages:
>
> Makefile.am:27: variable `gtk_image_organiser_LDFLAGS' is defined but
> no program or
> Makefile.am:27: library has `gtk_image_organiser' as canonic name
> (possible typo)
>
> This is probably an automake problem, but I'm asking here in case
> someone has hit this problem in Anjuta and overcome it.
>
> Cheers,
>
> Cliff
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]