RSS/Atom feed Twitter
Site is read-only, email is disabled

Problem compiling buffer tests

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Problem compiling buffer tests Henrik Akesson 18 Mar 19:27
  Problem compiling buffer tests Martin Nordholts 18 Mar 20:43
   Problem compiling buffer tests Henrik Akesson 19 Mar 12:00
Henrik Akesson
2009-03-18 19:27:56 UTC (over 15 years ago)

Problem compiling buffer tests

I get a lot of errors when compiling and trying to run the gegl/tests/buffer (output from "make check" below). Everything else works ok. Would you have any idea of why?

Thanks,

Henrik

At first it was complaining about not finding the "gegl.pc" when running "make check":
------------------------------
--------------------------------------------------------------------------- Package gegl was not found in the pkg-config search path. Perhaps you should add the directory containing `gegl.pc' to the PKG_CONFIG_PATH environment variable ---------------------------------------------------------------------------------------------------------

So I set it: ------------------------------------------------------------------------------------ echo $PKG_CONFIG_PATH
/home/hakesson/Dev/gegl-dev/

echo $GEGL_PATH /home/hakesson/Dev/gegl-dev/operations/ ------------------------------------------------------------------------------------

Output of "make check": ----------------------------------------------------------------------------------------------------------------------------------------------------------------- gcc -g -Wall buffer-test.c -o buffer-test `pkg-config gegl --cflags --libs` gcc: $(top_builddir)//home/hakesson/Dev/gegl-dev/gegl/libgegl.la: No such file or directory
buffer-test.c:1:18: error: gegl.h: No such file or directory buffer-test.c:2:25: error: gegl-buffer.h: No such file or directory In file included from ../../gegl/buffer/gegl-buffer-iterator.h:23, from buffer-test.c:15: ../../gegl/buffer/gegl-buffer.h:23:23: error: babl/babl.h: No such file or directory
In file included from ../../gegl/buffer/gegl-buffer-iterator.h:23, from buffer-test.c:15: ../../gegl/buffer/gegl-buffer.h:55: warning: type defaults to ‘int’ in declaration of ‘GeglRectangle’
../../gegl/buffer/gegl-buffer.h:55: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../gegl/buffer/gegl-buffer.h:82: warning: type defaults to ‘int’ in declaration of ‘GeglRectangle’
../../gegl/buffer/gegl-buffer.h:82: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../gegl/buffer/gegl-buffer.h:114: warning: type defaults to ‘int’ in declaration of ‘GeglRectangle’
../../gegl/buffer/gegl-buffer.h:114: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../gegl/buffer/gegl-buffer.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../gegl/buffer/gegl-buffer.h:149: warning: type defaults to ‘int’ in declaration of ‘GeglRectangle’
../../gegl/buffer/gegl-buffer.h:149: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../gegl/buffer/gegl-buffer.h:217: warning: type defaults to ‘int’ in declaration of ‘GeglRectangle’

----------------------------------------------------------------------------------------------------------------------------------------------------------------- snip....

Full output in attached buffer_make.txt.zip

Martin Nordholts
2009-03-18 20:43:26 UTC (over 15 years ago)

Problem compiling buffer tests

Henrik Akesson wrote:

I get a lot of errors when compiling and trying to run the gegl/tests/buffer (output from "make check" below). Everything else works ok. Would you have any idea of why?

IIRC some buffer test Makefile contains a hardcoded path to /usr/local, did you change that?

BR,
Martin

Henrik Akesson
2009-03-19 12:00:17 UTC (over 15 years ago)

Problem compiling buffer tests

Found a solution:

have to do a "sudo make install" of gegl before running the tests. I assume that is for installing the included header files into /usr/local/include/gegl-0.0.

Henrik

2009/3/18 Martin Nordholts

Henrik Akesson wrote:

I get a lot of errors when compiling and trying to run the gegl/tests/buffer (output from "make check" below). Everything else works ok. Would you have any idea of why?

IIRC some buffer test Makefile contains a hardcoded path to /usr/local, did you change that?

BR,
Martin