<div dir="ltr"><div dir="ltr">Guess my meson-fu is still pretty weak.</div><div dir="ltr">Now I see the build failure again:<div><div>In file included from ../mesa/src/intel/vulkan/anv_private.h:77:0,</div><div> from ../mesa/src/intel/vulkan/genX_pipeline.c:24:</div><div>src/../include/vulkan/vulkan_intel.h:27:10: fatal error: vulkan.h: No such file or directory</div><div> #include "vulkan.h"</div><div> ^~~~~~~~~~</div><div>compilation terminated.</div><div>[189/1491] Compiling C++ object 'src/c...49@@glsl@sta/builtin_functions.cpp.o'.</div><div>ninja: build stopped: subcommand failed.</div></div><div><br></div><div>Honestly, I've no idea how '#include "vulkan.h"' should work</div><div><br></div><div><br></div><div>Jan</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 24, 2018 at 10:51 AM Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 2018-12-23 at 15:35 +0000, Eric Engestrom wrote:<br>
> On Sunday, 2018-12-23 12:31:20 +0100, Jan Vesely wrote:<br>
> > From: Jan Vesely <<a href="mailto:jano.vesely@gmail.com" target="_blank">jano.vesely@gmail.com</a>><br>
> > <br>
> > intel_vulkan.h uses '#include "vulkan.h"' so the file needs to be in<br>
> > include path.<br>
> > Fixes meson build of anv<br>
> <br>
> Hmm, that doesn't look?<br>
> <br>
> include/vulkan/vulkan_intel.h has `#include "vulkan.h"`, which lives at<br>
> include/vulkan/vulkan.h, ie. in the same directory, so the current code<br>
> should work?<br>
> <br>
> What failure do you see, and in what circumstance?<br>
> <br>
> Could it be related to left over autotools files in your source dir?<br>
> Try again in a fresh clone?<br>
<br>
hm, I can't reproduce it again after the latest pull and git clean. I<br>
guess it was an artifact of switching to meson.<br>
<br>
sorry for the noise.<br>
thanks,<br>
Jan<br>
<br>
> <br>
> > <br>
> > Signed-off-by: Jan Vesely <<a href="mailto:jano.vesely@gmail.com" target="_blank">jano.vesely@gmail.com</a>><br>
> > ---<br>
> > src/intel/vulkan/meson.build | 2 +-<br>
> > 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> > <br>
> > diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build<br>
> > index e30e922528..d1c89be0f8 100644<br>
> > --- a/src/intel/vulkan/meson.build<br>
> > +++ b/src/intel/vulkan/meson.build<br>
> > @@ -181,7 +181,7 @@ libanv_common = static_library(<br>
> > [libanv_files, anv_entrypoints, anv_extensions_c, anv_extensions_h, sha1_h],<br>
> > include_directories : [<br>
> > inc_common, inc_intel, inc_compiler, inc_drm_uapi, inc_vulkan_util,<br>
> > - inc_vulkan_wsi,<br>
> > + inc_vulkan_wsi, inc_vulkan<br>
> > ],<br>
> > c_args : anv_flags,<br>
> > dependencies : anv_deps,<br>
> > -- <br>
> > 2.19.2<br>
> > <br>
> > _______________________________________________<br>
> > mesa-dev mailing list<br>
> > <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
> <br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
<br>
-- <br>
Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu" target="_blank">jan.vesely@rutgers.edu</a>></blockquote></div>