[Mesa-dev] [PATCH 11/14] meson: fix missing dependencies

Greg V greg at unrelenting.technology
Thu Jan 18 20:49:16 UTC 2018



On 01/18/2018 20:58, Emil Velikov wrote:
> On 6 January 2018 at 01:50, Dylan Baker <dylan at pnwbakers.com> wrote:
>> On January 5, 2018 5:00:59 PM PST, Greg V <greg at unrelenting.technology> wrote:
>>> On 01/06/2018 01:36, Dylan Baker wrote:
>>>> Quoting Greg V (2017-12-31 08:55:25)
>>>>> ---
>>> ../src/gallium/include/state_tracker/vdpau_dmabuf.h:37:10: fatal error:
>>>
>>> 'vdpau/vdpau.h' file not found
>>>
>>> I'm not sure how to mark a dependency as "only for headers"…
>> There currently isn't a way to do that, I'm writing a patch to add one, as a workaround, you can use the run command with pkg-config I suggested on the other patch.
> Actually a better solution is to remove the unnecessary includes, all together:
>   - vdpau_dmabuf.h - add forward declaration for VdpVideoSurface and
> drop the header
There's more than VdpVideoSurface, it also uses VdpOutputSurface and 
VdpStatus which is an enum. vdpau_funcs.h also uses values like 
VDP_RGBA_FORMAT_*. It's a real dependency…


More information about the mesa-dev mailing list