Re: [Gegl-developer] Problem building a simple example



On Sun, Feb 24, 2013 at 8:02 AM, Alexandre Quessy <alexandre quessy net> wrote:
Hello everyone,
I am trying to build a simple program using GEGL, but I fail.
It's the simple program in the http://www.gegl.org/ page.
Here is the command line I used:

$ gcc fractal.c `pkg-config --libs --cflags gegl` -o fractal
gcc: erreur: unrecognized option ‘-j1’

I am using Ubuntu Precise 12.04 GNU/Linux.
I installed libgegl-0.0-dev from the main APT sources that come with
this version of Ubuntu.

What should I do to be able to build this on Precise?
Should I use some other version of GEGL?

What is the output of $ pkg-config --libs --cflags gegl
?

(it probably contains a -j1, which your system doesn't support, sounds
like the packaging is out of sync with your build environment, the
output I get here on debian testing with my own built GEGL produces
the following:

-Wl,--export-dynamic -pthread -L/usr/local/lib -lgegl-0.1
-lgmodule-2.0 -lrt -lgio-2.0 -lbabl-0.1 -lm -lgobject-2.0 -lglib-2.0

I though I have no idea what -j1 means or where that would come from.

/Øyvind K.
--



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