Out of tree builds fail with the following errors: ----8<---- CXX GenefxEngine.lo In file included from ../../../../src/core/Renderer.h:73:0, from ../../../../src/gfx/generic/GenefxEngine.cpp:61: ../../../../src/core/Graphics.h:37:30: fatal error: core/CoreSurface.h: No such file or directory #include <core/CoreSurface.h> ^ CC default.lo ../../../wm/default/default.c:67:34: fatal error: core/CoreLayerRegion.h: No such file or directory #include <core/CoreLayerRegion.h> ^ ---->8----
The files in question are autogenerated and end up below `$(top_builddir)/src`, so this has to be part of the included directories. This commit is essentially the same as bb9c2490. Presumably there is no intention to move these generated files into an `include` directory, which would be another way of fixing this issue. --- src/gfx/generic/Makefile.am | 1 + wm/default/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gfx/generic/Makefile.am b/src/gfx/generic/Makefile.am index bf82766..217c763 100644 --- a/src/gfx/generic/Makefile.am +++ b/src/gfx/generic/Makefile.am @@ -3,6 +3,7 @@ INCLUDES = \ -I$(top_builddir)/include \ -I$(top_builddir)/lib \ + -I$(top_builddir)/src \ -I$(top_srcdir)/include \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/src diff --git a/wm/default/Makefile.am b/wm/default/Makefile.am index 92acfc0..3ad78a3 100644 --- a/wm/default/Makefile.am +++ b/wm/default/Makefile.am @@ -3,6 +3,7 @@ INCLUDES = \ -I$(top_builddir)/include \ -I$(top_builddir)/lib \ + -I$(top_builddir)/src \ -I$(top_srcdir)/include \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/src -- 1.9.3 _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev