[Mesa-dev] [PATCH] anv: add the main include directory back

Grazvydas Ignotas notasas at gmail.com
Sun Mar 19 21:48:37 UTC 2017


On Sun, Mar 19, 2017 at 11:27 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 19 March 2017 at 16:32, Grazvydas Ignotas <notasas at gmail.com> wrote:
>
>> With that, it's picking the earlier installed
>> /opt/xorg/include/vulkan/vulkan_intel.h instead of
>> ../../include/vulkan/vulkan_intel.h , and that one has:
>>
>> #include "vulkan.h"
>>
> I'm wondering if that one should be <vulkan/vulkan.h> although I'm not
> an expert why we have a vulkan_intel.h in the first place.
> Let's stick with Jason's suggestion and use the in-tree headers -
> please move AM_CPPFLAGS at the top of VULKAN_CPPFLAGS.

In my setup AM_CPPFLAGS also contains -I/opt/xorg/include , so that
will prefer the install location over all others from VULKAN_CPPFLAGS,
which feels like it may lead to similar problem again in future?

GraÅžvydas


More information about the mesa-dev mailing list