Netflix / vmaf

Perceptual video quality assessment based on multi-method fusion.
Other
4.68k stars 757 forks source link

ninja build fails #443

Closed bekiroguzhan closed 4 years ago

bekiroguzhan commented 4 years ago

Hi, I am trying to build VMAF to use with ffmpeg. When I run ninja -vC build It stopped with the message. ninja: build stopped: subcommand failed.

In the trace it only shows some warning but it looks like there is no error.

I am currently using meson 0.52 .0 ninja 1.5.1 on ubuntu 16.04 LTS (32 bit version) Any help is appreciated.

Best

1480c1 commented 4 years ago

Can you print all of the commands you used starting from when you downloaded this repo? This isn't much information for anyone to go off, unless you literally only did ninja -vC build after downloading

bekiroguzhan commented 4 years ago

I run meson build --buildtype release then ninja -vC build

Nothing else

1480c1 commented 4 years ago

This is from the libvmaf subfolder right?

bekiroguzhan commented 4 years ago

Yes I downloaded the entire repository first. Then go to libvmaf subfolder. Then I run the above 2 commands.

1480c1 commented 4 years ago

Can you paste the output of those two commands here? Try to block them off with triple back ticks (`) to prevent github formatting so something like

meson build --buildtype release .... ninja -vC build ....

bekiroguzhan commented 4 years ago

Here is the output of

meson build --buildtype release
The Meson build system
Version: 0.52.0
Source dir: /home/bekir/VMAF2/vmaf/libvmaf
Build dir: /home/bekir/VMAF2/vmaf/libvmaf/build
Build type: native build
Project name: libvmaf
Project version: 1.3.16
C compiler for the host machine: cc (gcc 5.4.0 "cc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C linker for the host machine: GNU ld.bfd 2.26.1
C++ compiler for the host machine: c++ (gcc 5.4.0 "c++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C++ linker for the host machine: GNU ld.bfd 2.26.1
Host machine cpu family: x86
Host machine cpu: i686
Run-time dependency threads found: YES 
Library m found: YES
Configuring version.h using configuration
Program doxygen found: NO
Build targets in project: 19
Found ninja-1.5.1 at /usr/bin/ninja

and for

ninja -vC build
ninja: Entering directory `build'
[1/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_valpython.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_valpython.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_valpython.cc.o' -c ../src/third_party/ptools/valpython.cc
[2/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_m2pythontools.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_m2pythontools.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_m2pythontools.cc.o' -c ../src/third_party/ptools/m2pythontools.cc
[3/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_midassocket.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_midassocket.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_midassocket.cc.o' -c ../src/third_party/ptools/midassocket.cc
[4/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_m2ser.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_m2ser.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_m2ser.cc.o' -c ../src/third_party/ptools/m2ser.cc
[5/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_valprotocol2.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_valprotocol2.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_valprotocol2.cc.o' -c ../src/third_party/ptools/valprotocol2.cc
[6/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_m2convertrep.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_m2convertrep.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_m2convertrep.cc.o' -c ../src/third_party/ptools/m2convertrep.cc
[7/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_m2streamdataenc.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_m2streamdataenc.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_m2streamdataenc.cc.o' -c ../src/third_party/ptools/m2streamdataenc.cc
[8/124] c++ -Isrc/25a6634@@ptools@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -fno-strict-aliasing -DLINUX_ -DOC_NEW_STYLE_INCLUDES -D_REENTRANT -MD -MQ 'src/25a6634@@ptools@sha/third_party_ptools_timeconv.cc.o' -MF 'src/25a6634@@ptools@sha/third_party_ptools_timeconv.cc.o.d' -o 'src/25a6634@@ptools@sha/third_party_ptools_timeconv.cc.o' -c ../src/third_party/ptools/timeconv.cc
[9/124] cc -Isrc/25a6634@@vmaf_rc@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf_rc@sha/model.c.o' -MF 'src/25a6634@@vmaf_rc@sha/model.c.o.d' -o 'src/25a6634@@vmaf_rc@sha/model.c.o' -c ../src/model.c
[10/124] cc -Isrc/25a6634@@convolution_and_psnr_avx@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -mavx -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@convolution_and_psnr_avx@sta/feature_common_convolution_avx.c.o' -MF 'src/25a6634@@convolution_and_psnr_avx@sta/feature_common_convolution_avx.c.o.d' -o 'src/25a6634@@convolution_and_psnr_avx@sta/feature_common_convolution_avx.c.o' -c ../src/feature/common/convolution_avx.c
[11/124] cc -Isrc/25a6634@@convolution_and_psnr_avx@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -mavx -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@convolution_and_psnr_avx@sta/feature_psnr_tools.c.o' -MF 'src/25a6634@@convolution_and_psnr_avx@sta/feature_psnr_tools.c.o.d' -o 'src/25a6634@@convolution_and_psnr_avx@sta/feature_psnr_tools.c.o' -c ../src/feature/psnr_tools.c
[12/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_common_convolution.c.o' -MF 'src/25a6634@@vmaf@sha/feature_common_convolution.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_common_convolution.c.o' -c ../src/feature/common/convolution.c
[13/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_common_alignment.c.o' -MF 'src/25a6634@@vmaf@sha/feature_common_alignment.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_common_alignment.c.o' -c ../src/feature/common/alignment.c
[14/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_offset.c.o' -MF 'src/25a6634@@vmaf@sha/feature_offset.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_offset.c.o' -c ../src/feature/offset.c
[15/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_common_cpu.c.o' -MF 'src/25a6634@@vmaf@sha/feature_common_cpu.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_common_cpu.c.o' -c ../src/feature/common/cpu.c
[16/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_adm.c.o' -MF 'src/25a6634@@vmaf@sha/feature_adm.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_adm.c.o' -c ../src/feature/adm.c
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_17’:
../src/feature/common/convolution_avx.c:224:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                    ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_9’:
../src/feature/common/convolution_avx.c:347:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_5’:
../src/feature/common/convolution_avx.c:412:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_17’:
../src/feature/common/convolution_avx.c:571:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                    ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_9’:
../src/feature/common/convolution_avx.c:691:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_5’:
../src/feature/common/convolution_avx.c:756:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_17’:
../src/feature/common/convolution_avx.c:997:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                       ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1137:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1211:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_17’:
../src/feature/common/convolution_avx.c:1384:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                       ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1521:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1595:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_17’:
../src/feature/common/convolution_avx.c:1850:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                       ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2007:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2090:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_17’:
../src/feature/common/convolution_avx.c:2278:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                       ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2433:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2517:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^
[17/124] rm -f src/libconvolution_and_psnr_avx.a && gcc-ar csrD src/libconvolution_and_psnr_avx.a 'src/25a6634@@convolution_and_psnr_avx@sta/feature_common_convolution_avx.c.o' 'src/25a6634@@convolution_and_psnr_avx@sta/feature_psnr_tools.c.o'
../src/feature/adm.c: In function ‘adm’:
../src/feature/adm.c:275:153: warning: unused parameter ‘fmt’ [-Wunused-parameter]
 int adm(int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride, void *user_data), void *user_data, int w, int h, const char *fmt)
                                                                                                                                                         ^
In file included from ../src/feature/adm.c:27:0:
../src/feature/adm.c: At top level:
../src/feature/adm_tools.h:335:59: warning: ‘dwt_7_9_basis_function_amplitudes’ is static but used in inline function ‘dwt_quant_step’ which is not static
     float Q = 2.0*params->a*pow(10.0,params->k*temp*temp)/dwt_7_9_basis_function_amplitudes[lambda][theta];
                                                           ^
[18/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o' -MF 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o' -c ../src/feature/adm_tools.c
[19/124] cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_ansnr.c.o' -MF 'src/25a6634@@vmaf@sha/feature_ansnr.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_ansnr.c.o' -c ../src/feature/ansnr.c
FAILED: cc -Isrc/25a6634@@vmaf@sha -Isrc -I../src -I../src/./third_party/ptools/opencontainers_1_8_4/include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -I../src/./third_party/ptools/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES -MD -MQ 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o' -MF 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o.d' -o 'src/25a6634@@vmaf@sha/feature_adm_tools.c.o' -c ../src/feature/adm_tools.c
../src/feature/adm_tools.c: In function ‘adm_csf_s’:
../src/feature/adm_tools.c:211:107: warning: unused parameter ‘orig_h’ [-Wunused-parameter]
 void adm_csf_s(const adm_dwt_band_t_s *src, const adm_dwt_band_t_s *dst, const adm_dwt_band_t_s *flt, int orig_h, int scale, int w, int h, int src_stride, int dst_stride, double border_factor)
                                                                                                           ^
../src/feature/adm_tools.c: In function ‘adm_csf_den_scale_s’:
../src/feature/adm_tools.c:271:60: warning: unused parameter ‘orig_h’ [-Wunused-parameter]
 float adm_csf_den_scale_s(const adm_dwt_band_t_s *src, int orig_h, int scale, int w, int h, int src_stride, double border_factor)
                                                            ^
In file included from ../src/feature/adm_tools.c:24:0:
../src/feature/adm_tools.c: In function ‘adm_cm_s’:
../src/feature/adm_tools.c:378:23: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_0_0(angles, flt_angles, csf_px_stride, &thr, w, h, 0, 0);
                       ^
../src/feature/adm_tools.h:34:20: note: in definition of macro ‘ADM_CM_THRESH_S_0_0’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:378:31: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_0_0(angles, flt_angles, csf_px_stride, &thr, w, h, 0, 0);
                               ^
../src/feature/adm_tools.h:35:21: note: in definition of macro ‘ADM_CM_THRESH_S_0_0’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:403:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_0_J(angles, flt_angles, csf_px_stride, &thr, w, h, 0, j);
                        ^
../src/feature/adm_tools.h:76:20: note: in definition of macro ‘ADM_CM_THRESH_S_0_J’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:403:32: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_0_J(angles, flt_angles, csf_px_stride, &thr, w, h, 0, j);
                                ^
../src/feature/adm_tools.h:77:21: note: in definition of macro ‘ADM_CM_THRESH_S_0_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:429:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_0_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, 0, (w - 1));
                           ^
../src/feature/adm_tools.h:54:20: note: in definition of macro ‘ADM_CM_THRESH_S_0_W_M_1’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:429:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_0_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, 0, (w - 1));
                                   ^
../src/feature/adm_tools.h:55:21: note: in definition of macro ‘ADM_CM_THRESH_S_0_W_M_1’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:462:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                         ^
../src/feature/adm_tools.h:172:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:462:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                                 ^
../src/feature/adm_tools.h:173:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:496:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_0(angles, flt_angles, csf_px_stride, &thr, w, h, i, 0);
                        ^
../src/feature/adm_tools.h:198:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_0’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:496:32: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_0(angles, flt_angles, csf_px_stride, &thr, w, h, i, 0);
                                ^
../src/feature/adm_tools.h:199:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_0’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:519:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                         ^
../src/feature/adm_tools.h:172:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:519:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                                 ^
../src/feature/adm_tools.h:173:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:553:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                         ^
../src/feature/adm_tools.h:172:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:553:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                                 ^
../src/feature/adm_tools.h:173:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:575:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
                            ^
../src/feature/adm_tools.h:226:20: note: in definition of macro ‘ADM_CM_THRESH_S_I_W_M_1’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:575:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
                                    ^
../src/feature/adm_tools.h:227:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_W_M_1’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.h:223:8: warning: unused variable ‘sum’ [-Wunused-variable]
  float sum = 0; \
        ^
../src/feature/adm_tools.c:575:4: note: in expansion of macro ‘ADM_CM_THRESH_S_I_W_M_1’
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
    ^
../src/feature/adm_tools.c:608:24: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_0(angles, flt_angles, csf_px_stride, &thr, w, h, i, 0);
                        ^
../src/feature/adm_tools.h:198:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_0’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:608:32: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_0(angles, flt_angles, csf_px_stride, &thr, w, h, i, 0);
                                ^
../src/feature/adm_tools.h:199:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_0’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:630:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                         ^
../src/feature/adm_tools.h:172:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *src_ptr = angles[theta]; \
                     ^
../src/feature/adm_tools.c:630:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     ADM_CM_THRESH_S_I_J(angles, flt_angles, csf_px_stride, &thr, w, h, i, j);
                                 ^
../src/feature/adm_tools.h:173:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:652:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
                            ^
../src/feature/adm_tools.h:226:20: note: in definition of macro ‘ADM_CM_THRESH_S_I_W_M_1’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:652:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
                                    ^
../src/feature/adm_tools.h:227:21: note: in definition of macro ‘ADM_CM_THRESH_S_I_W_M_1’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.h:223:8: warning: unused variable ‘sum’ [-Wunused-variable]
  float sum = 0; \
        ^
../src/feature/adm_tools.c:652:4: note: in expansion of macro ‘ADM_CM_THRESH_S_I_W_M_1’
    ADM_CM_THRESH_S_I_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, i, (w - 1));
    ^
../src/feature/adm_tools.c:684:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_H_M_1_0(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), 0);
                           ^
../src/feature/adm_tools.h:97:20: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_0’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:684:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_H_M_1_0(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), 0);
                                   ^
../src/feature/adm_tools.h:98:21: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_0’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:709:28: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_H_M_1_J(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), j);
                            ^
../src/feature/adm_tools.h:146:20: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_J’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:709:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    ADM_CM_THRESH_S_H_M_1_J(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), j);
                                    ^
../src/feature/adm_tools.h:147:21: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_J’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:735:31: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_H_M_1_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), (w - 1));
                               ^
../src/feature/adm_tools.h:121:20: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_W_M_1’
   float *src_ptr = angles[theta]; \
                    ^
../src/feature/adm_tools.c:735:39: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   ADM_CM_THRESH_S_H_M_1_W_M_1(angles, flt_angles, csf_px_stride, &thr, w, h, (h - 1), (w - 1));
                                       ^
../src/feature/adm_tools.h:122:21: note: in definition of macro ‘ADM_CM_THRESH_S_H_M_1_W_M_1’
    float *flt_ptr = flt_angles[theta]; \
                     ^
../src/feature/adm_tools.c:346:6: warning: unused variable ‘flt_px_stride’ [-Wunused-variable]
  int flt_px_stride = flt_stride / sizeof(float);
      ^
../src/feature/adm_tools.c:334:53: warning: unused variable ‘src_d’ [-Wunused-variable]
  float *src_h = src->band_h, *src_v = src->band_v, *src_d = src->band_d;
                                                     ^
../src/feature/adm_tools.c:334:31: warning: unused variable ‘src_v’ [-Wunused-variable]
  float *src_h = src->band_h, *src_v = src->band_v, *src_d = src->band_d;
                               ^
../src/feature/adm_tools.c:334:9: warning: unused variable ‘src_h’ [-Wunused-variable]
  float *src_h = src->band_h, *src_v = src->band_v, *src_d = src->band_d;
         ^
../src/feature/adm_tools.c: In function ‘adm_dwt2_s’:
../src/feature/adm_tools.c:830:24: warning: unused variable ‘jj’ [-Wunused-variable]
  int i, j, fi, fj, ii, jj;
                        ^
../src/feature/adm_tools.c:830:20: warning: unused variable ‘ii’ [-Wunused-variable]
  int i, j, fi, fj, ii, jj;
                    ^
../src/feature/adm_tools.c:830:16: warning: unused variable ‘fj’ [-Wunused-variable]
  int i, j, fi, fj, ii, jj;
                ^
../src/feature/adm_tools.c:830:12: warning: unused variable ‘fi’ [-Wunused-variable]
  int i, j, fi, fj, ii, jj;
            ^
../src/feature/adm_tools.c:826:30: warning: unused variable ‘imgcoeff’ [-Wunused-variable]
  float fcoeff_lo, fcoeff_hi, imgcoeff;
                              ^
../src/feature/adm_tools.c:826:19: warning: unused variable ‘fcoeff_hi’ [-Wunused-variable]
  float fcoeff_lo, fcoeff_hi, imgcoeff;
                   ^
../src/feature/adm_tools.c:826:8: warning: unused variable ‘fcoeff_lo’ [-Wunused-variable]
  float fcoeff_lo, fcoeff_hi, imgcoeff;
        ^
../src/feature/adm_tools.c:819:6: warning: unused variable ‘fwidth’ [-Wunused-variable]
  int fwidth = sizeof(dwt2_db2_coeffs_lo_s) / sizeof(float);
      ^
In file included from ../src/feature/adm_tools.c:24:0:
../src/feature/adm_tools.c: At top level:
../src/feature/adm_tools.h:335:59: warning: ‘dwt_7_9_basis_function_amplitudes’ is static but used in inline function ‘dwt_quant_step’ which is not static
     float Q = 2.0*params->a*pow(10.0,params->k*temp*temp)/dwt_7_9_basis_function_amplitudes[lambda][theta];
                                                           ^
../src/feature/adm_tools.c: In function ‘rcp_s’:
../src/feature/adm_tools.c:36:16: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
     float xi = _mm_cvtss_f32(_mm_rcp_ss(_mm_load_ss(&x)));
                ^
In file included from /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:31:0,
                 from ../src/feature/adm_tools.c:32:
/usr/lib/gcc/i686-linux-gnu/5/include/xmmintrin.h:964:1: error: inlining failed in call to always_inline ‘_mm_cvtss_f32’: target specific option mismatch
 _mm_cvtss_f32 (__m128 __A)
 ^
../src/feature/adm_tools.c:36:11: error: called from here
     float xi = _mm_cvtss_f32(_mm_rcp_ss(_mm_load_ss(&x)));
           ^
In file included from /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:31:0,
                 from ../src/feature/adm_tools.c:32:
/usr/lib/gcc/i686-linux-gnu/5/include/xmmintrin.h:155:1: error: inlining failed in call to always_inline ‘_mm_rcp_ss’: target specific option mismatch
 _mm_rcp_ss (__m128 __A)
 ^
../src/feature/adm_tools.c:36:16: error: called from here
     float xi = _mm_cvtss_f32(_mm_rcp_ss(_mm_load_ss(&x)));
                ^
In file included from /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:31:0,
                 from ../src/feature/adm_tools.c:32:
/usr/lib/gcc/i686-linux-gnu/5/include/xmmintrin.h:902:1: error: inlining failed in call to always_inline ‘_mm_load_ss’: target specific option mismatch
 _mm_load_ss (float const *__P)
 ^
../src/feature/adm_tools.c:36:16: error: called from here
     float xi = _mm_cvtss_f32(_mm_rcp_ss(_mm_load_ss(&x)));
                ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/m2convertrep.h:12,
                 from ../src/third_party/ptools/m2convertrep.cc:10:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/m2convertrep.h:12,
                 from ../src/third_party/ptools/m2convertrep.cc:10:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/m2convertrep.h:12,
                 from ../src/third_party/ptools/m2streamdataenc.h:57,
                 from ../src/third_party/ptools/m2streamdataenc.cc:7:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/m2convertrep.h:12,
                 from ../src/third_party/ptools/m2streamdataenc.h:57,
                 from ../src/third_party/ptools/m2streamdataenc.cc:7:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/fdtools.h:24,
                 from ../src/third_party/ptools/midassocket.h:7,
                 from ../src/third_party/ptools/midassocket.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/fdtools.h:24,
                 from ../src/third_party/ptools/midassocket.h:7,
                 from ../src/third_party/ptools/midassocket.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/third_party/ptools/pickleloader.h:9:0,
                 from ../src/third_party/ptools/chooseser.h:45,
                 from ../src/third_party/ptools/midassocket.h:9,
                 from ../src/third_party/ptools/midassocket.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavltreet.h: In member function ‘bool OC::AVLTreeT<K, V, OC_AVLCHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavltreet.h:345:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/valpython.h:6,
                 from ../src/third_party/ptools/valpython.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/valpython.h:6,
                 from ../src/third_party/ptools/valpython.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/valprotocol2.h:6,
                 from ../src/third_party/ptools/valprotocol2.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/valprotocol2.h:6,
                 from ../src/third_party/ptools/valprotocol2.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:38:0,
                 from ../src/third_party/ptools/m2ser.h:9,
                 from ../src/third_party/ptools/m2ser.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h: In member function ‘bool OC::AVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocavlhasht.h:425:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
In file included from ../src/./third_party/ptools/opencontainers_1_8_4/include/ocval.h:39:0,
                 from ../src/third_party/ptools/m2ser.h:9,
                 from ../src/third_party/ptools/m2ser.cc:2:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h: In member function ‘bool OC::OrdAVLHashT<K, V, CHUNKSIZE>::consistent()’:
../src/./third_party/ptools/opencontainers_1_8_4/include/ocordavlhasht.h:457:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
       if (!recursiveElements_(root_->right())==entries_)
                                              ^
ninja: build stopped: subcommand failed.
1480c1 commented 4 years ago

It seems adm_tools.c requires -msse on 32-bit targets, so do CFLAGS=-msse meson .... and do the rest of your commands

bekiroguzhan commented 4 years ago

That worked. Thank you for the quick response.

reginalluna commented 3 years ago

It seems adm_tools.c requires -msse on 32-bit targets, so do CFLAGS=-msse meson .... and do the rest of your commands

Hi, I have the same issue. Can you explain the solution in detail? I'm a bit confused. Thank you.

1480c1 commented 3 years ago

It seems adm_tools.c requires -msse on 32-bit targets, so do CFLAGS=-msse meson .... and do the rest of your commands

Hi, I have the same issue. Can you explain the solution in detail? I'm a bit confused. Thank you.

So the issue is that some code inside vmaf requires sse intrinsic to compile and by default a lot of the 32-bit targets (386, 486, 686) do not have sse enabled by default in the compiler, so you would need to pass -msse to the compiler to enable that even for 32-bit targets and the easiest way to do so is to add that to the environment flag CFLAGS

as a note, this doesn't seem to be your issue in https://github.com/Netflix/vmaf/issues/851

reginalluna commented 3 years ago

It seems adm_tools.c requires -msse on 32-bit targets, so do CFLAGS=-msse meson .... and do the rest of your commands

Hi, I have the same issue. Can you explain the solution in detail? I'm a bit confused. Thank you.

So the issue is that some code inside vmaf requires sse intrinsic to compile and by default a lot of the 32-bit targets (386, 486, 686) do not have sse enabled by default in the compiler, so you would need to pass -msse to the compiler to enable that even for 32-bit targets and the easiest way to do so is to add that to the environment flag CFLAGS

as a note, this doesn't seem to be your issue in #851

Hi, thanks for your explanation. Where can I change this environment flag CFLAGS? Can you tell me the steps? I'm sorry that I'm not familiar with programming.

1480c1 commented 3 years ago

For windows: https://www.wikihow.com/Create-an-Environment-Variable-in-Windows-10 For linux: prepend your command with CFLAGS=-msse as mentioned wth CFLAGS=-msse meson ... For macOS: same thing as linux