intel / libvpl

Intel® Video Processing Library (Intel® VPL) API, dispatcher, and examples
https://intel.github.io/libvpl/
MIT License
262 stars 80 forks source link

[regression][compile] on c33e87261b #63

Closed Bin-CI closed 1 year ago

Bin-CI commented 1 year ago

c33e87261b break build process:

02:10:26,269 INFO  - /opt/media/build/onevpl/tools/cli/system_analyzer/system_analyzer.cpp:22:14: fatal error: va/va.h: No such file or directory
02:10:26,269 INFO  -    22 |     #include "va/va.h"
02:10:26,269 INFO  -       |              ^~~~~~~~~
02:10:26,269 INFO  - compilation terminated.
02:10:26,271 INFO  - make[2]: *** [tools/cli/system_analyzer/CMakeFiles/system_analyzer.dir/build.make:63: tools/cli/system_analyzer/CMakeFiles/system_analyzer.dir/system_analyzer.cpp.o] Error 1
02:10:26,271 INFO  - make[2]: Leaving directory '/opt/media/build/onevpl/__cmake_build'
02:10:26,271 INFO  - make[1]: *** [CMakeFiles/Makefile2:625: tools/cli/system_analyzer/CMakeFiles/system_analyzer.dir/all] Error 2
02:10:26,271 INFO  - make[1]: *** Waiting for unfinished jobs....

root cause: this part force load from -I/usr/include as build deps, not load form pkgconfig return value: pkg-config --cflags libva: -I/opt/media/install/include with system side /usr/include installed libva can FIX this, but should support with pkgconfig return flag

Bin-CI commented 1 year ago

issue fix by 6fa20e9