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