cavif icon indicating copy to clipboard operation
cavif copied to clipboard

Build error on Centos 8

Open janekwisniewski86 opened this issue 5 years ago • 2 comments

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

  • gcc version 8.3.1
  • cmake version 3.18.4
CMake Error at external/libaom/CMakeLists.txt:438 (message):
  VMAF library not found.

How can this be fixed?

janekwisniewski86 avatar Feb 05 '21 11:02 janekwisniewski86

-- 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

G2G2G2G avatar Feb 25 '21 05:02 G2G2G2G

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

ledyba-z avatar Nov 30 '21 06:11 ledyba-z