dubhater / vapoursynth-mvtools

Motion compensation and stuff
184 stars 28 forks source link

build fails with msys2 mingw64 in r296 #44

Closed fuchanghao closed 5 years ago

fuchanghao commented 5 years ago

commit: https://github.com/dubhater/vapoursynth-mvtools/commit/545d16c65c4d3a4f2305e4c17815ed94f7ef8fbc

build folder files:

build.zip

meson log

The Meson build system Version: 0.51.1 Source dir: E:/Source Code/VapourSynth/vapoursynth-mvtools Build dir: E:/Source Code/VapourSynth/vapoursynth-mvtools/build Build type: native build Project name: MVTools Project version: 21 C compiler for the build machine: cc (gcc 9.2.0 "cc (Rev2, Built by MSYS2 project) 9.2.0") C++ compiler for the build machine: c++ (gcc 9.2.0 "c++ (Rev2, Built by MSYS2 project) 9.2.0") C compiler for the host machine: cc (gcc 9.2.0 "cc (Rev2, Built by MSYS2 project) 9.2.0") C++ compiler for the host machine: c++ (gcc 9.2.0 "c++ (Rev2, Built by MSYS2 project) 9.2.0") Build machine cpu family: x86_64 Build machine cpu: x86_64 Found pkg-config: C:\msys64\mingw64\bin/pkg-config.EXE (0.29.2) Run-time dependency vapoursynth found: YES 47 Program nasm found: YES (C:\msys64\mingw64\bin/nasm.EXE) Run-time dependency fftw3f found: YES 3.3.8 Library m found: YES Build targets in project: 2 Found ninja.EXE-1.9.0 at 'C:\msys64\mingw64\bin/ninja.EXE'

ninja log

[1/37] Compiling C object mvtools@sha/src_MVFlowFPSHelper.c.obj. [2/37] Generating 'mvtools@sha/cpu-a.obj'. [3/37] Compiling C object mvtools@sha/src_MVSCDetection.c.obj. [4/37] Compiling C object mvtools@sha/src_EntryPoint.c.obj. [5/37] Compiling C object mvtools@sha/src_MVAnalysisData.c.obj. [6/37] Compiling C object mvtools@sha/src_CPU.c.obj. [7/37] Compiling C object mvtools@sha/src_MVSuper.c.obj. [8/37] Compiling C object mvtools@sha/src_MVFinest.c.obj. [9/37] Generating 'mvtools@sha/const-a.obj'. [10/37] Compiling C object mvtools@sha/src_Fakery.c.obj. [11/37] Compiling C object mvtools@sha/src_MVRecalculate.c.obj. [12/37] Compiling C object mvtools@sha/src_GroupOfPlanes.c.obj. [13/37] Compiling C object mvtools@sha/src_MVFlowBlur.c.obj. [14/37] Compiling C object mvtools@sha/src_MVFlowInter.c.obj. [15/37] Compiling C object mvtools@sha/src_MVMask.c.obj. [16/37] Compiling C++ object mvtools@sha/src_SimpleResize.cpp.obj. [17/37] Compiling C object mvtools@sha/src_MVFlowFPS.c.obj. [18/37] Compiling C object mvtools@sha/src_MVAnalyse.c.obj. [19/37] Compiling C object mvtools@sha/src_MVCompensate.c.obj. [20/37] Compiling C++ object mvtools@sha/src_MVFlow.cpp.obj. [21/37] Compiling C++ object mvtools@sha/src_DCTFFTW.cpp.obj. [22/37] Compiling C++ object mvtools@sha/src_CopyCode.cpp.obj. [23/37] Compiling C++ object mvtools@sha/src_MaskFun.cpp.obj. [24/37] Compiling C++ object avx2@sta/src_SimpleResize_AVX2.cpp.obj. [25/37] Compiling C object mvtools@sha/src_MVBlockFPS.c.obj. [26/37] Compiling C++ object mvtools@sha/src_Luma.cpp.obj. [27/37] Compiling C++ object avx2@sta/src_MaskFun_AVX2.cpp.obj. [28/37] Linking static target libavx2.a. [29/37] Compiling C++ object mvtools@sha/src_Overlap.cpp.obj. [30/37] Compiling C++ object mvtools@sha/src_MVDepan.cpp.obj. [31/37] Compiling C++ object mvtools@sha/src_MVFrame.cpp.obj. [32/37] Generating 'mvtools@sha/sad-a.obj'. [33/37] Compiling C++ object mvtools@sha/src_SADFunctions.cpp.obj. [34/37] Compiling C++ object mvtools@sha/src_MVDegrains.cpp.obj. [35/37] Generating 'mvtools@sha/pixel-a.obj'. [36/37] Compiling C++ object mvtools@sha/src_PlaneOfBlocks.cpp.obj. ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 5; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] 849 | int64_t nMinCostMany[8]; | ^~~~ ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 0; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 6; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 9; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 7; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 10; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 8; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 3; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 1; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 4; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 2; int nLogPel = 0]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 10; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 10; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 9; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 9; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 8; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 8; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 7; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 7; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 6; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 6; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 5; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 5; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 4; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 4; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 3; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 3; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 1; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 1; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 0; int nLogPel = 2]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp: In function 'void doPobSearchMVs(PlaneOfBlocks, MVFrame, MVFrame, SearchType, int, int, int, int, int, uint8_t, VECTOR, int, DCTFFTW, int, int, int, int, int64_t, int, int, int) [with int dctmode = 0; int nLogPel = 1]': ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/PlaneOfBlocks.cpp:849:13: warning: 'nMinCostMany[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] [37/37] Linking target libmvtools.dll. FAILED: libmvtools.dll c++ @libmvtools.dll.rsp C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVDegrains.cpp.obj:MVDegrains.cpp:(.text+0x40b8a): undefined reference to selectDegrainFunctionAVX2(unsigned int, unsigned int, unsigned int, unsigned int)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.text+0x18133): undefined reference toVerticalBilinear_avx2(unsigned char, unsigned char const, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.text+0x1813a): undefined reference to `HorizontalBilinear_avx2(unsigned char, unsigned char const, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.text+0x18229): undefined reference to `Average2_avx2(unsigned char, unsigned char const, unsigned char const, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.text+0x182bc): undefined reference to VerticalWiener_avx2(unsigned char*, unsigned char const*, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z19VerticalWiener_avx2PhPKhxxxx[.refptr._Z19VerticalWiener_avx2PhPKhxxxx]+0x0): undefined reference toVerticalWiener_avx2(unsigned char, unsigned char const, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z21HorizontalWiener_avx2PhPKhxxxx[.refptr._Z21HorizontalWiener_avx2PhPKhxxxx]+0x0): undefined reference to HorizontalWiener_avx2(unsigned char*, unsigned char const*, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z21DiagonalBilinear_avx2PhPKhxxxx[.refptr._Z21DiagonalBilinear_avx2PhPKhxxxx]+0x0): undefined reference toDiagonalBilinear_avx2(unsigned char, unsigned char const, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z23HorizontalBilinear_avx2PhPKhxxxx[.refptr._Z23HorizontalBilinear_avx2PhPKhxxxx]+0x0): undefined reference to HorizontalBilinear_avx2(unsigned char*, unsigned char const*, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z21VerticalBilinear_avx2PhPKhxxxx[.refptr._Z21VerticalBilinear_avx2PhPKhxxxx]+0x0): undefined reference toVerticalBilinear_avx2(unsigned char, unsigned char const, long long, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_MVFrame.cpp.obj:MVFrame.cpp:(.rdata$.refptr._Z13Average2_avx2PhPKhS1_xxx[.refptr._Z13Average2_avx2PhPKhS1_xxx]+0x0): undefined reference to Average2_avx2(unsigned char*, unsigned char const*, unsigned char const*, long long, long long, long long)' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_Overlap.cpp.obj:Overlap.cpp:(.text+0x9bf): undefined reference toselectOverlapsFunctionAVX2' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: mvtools@sha/src_SADFunctions.cpp.obj:SADFunctions.cpp:(.text+0x150a0): undefined reference to `selectSADFunctionAVX2' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

dubhater commented 5 years ago

It should work now.