link-u / cavif

avif encoder, using libaom directly.
MIT License
109 stars 20 forks source link

Build error on Centos 8 #97

Open janekwisniewski86 opened 3 years ago

janekwisniewski86 commented 3 years ago

Cannot build on Centos 8 (4.18.0-240.10.1.el8_3.x86_64)

CMake Error at external/libaom/CMakeLists.txt:438 (message):
  VMAF library not found.

How can this be fixed?

G2G2G2G commented 3 years ago
-- Build files have been written to: /x/cavif/build/external/vmaf-repo
[ 12%] Performing configure step for 'vmaf_repo'
env: ‘meson’: No such file or directory
make[2]: *** [CMakeFiles/vmaf_repo.dir/build.make:127: /x/cavif/build/src/vmaf_repo-stamp/vmaf_repo-configure] Error 127
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/vmaf_repo.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
-- Install configuration: ""
--- aom_configure: Detected CPU: x86_64
CMake Error at external/libaom/CMakeLists.txt:438 (message):
  VMAF library not found.

Adding this here since it is related, does yours also have env: ‘meson’: No such file or directory is that where it is failing? cmake 3.19.4 gcc 10.2.0

ledyba-z commented 2 years ago

Sorry, I forgot to write that we also have to need ninja and meson to build libvmaf.

I wrote some days ago.

CI uses Ubuntu to build, but it may help to build also in CentOS, so please refer:

https://github.com/link-u/cavif/blob/master/.github/workflows/build-on-linux.yml