va/va_dricommon.h is only installed if libva ls build with -Dwith_x11=yes / --enable-x11. However the header is used here if X11_FOUND is defined. And this is defined if CMake found (some?) X11 libs and headers, regardless of the libva configuration.

So the missing include error can happen if the X11 devel packages are installed but libva is compiled with X11 support explicitly disabled.

在编译libva的时候, configure 打开 --enable-x11

类似./configure --enable-x11

本文链接地址:https://const.net.cn/455.html

标签: none

添加新评论