IFeelBloated / vapoursynth-mvtools-sf

Single Precision MVTools
10 stars 2 forks source link

Overlap.h:4:10: fatal error: numbers: No such file or directory #20

Closed Jieiku closed 4 years ago

Jieiku commented 4 years ago

My OS is Ubuntu 20.04 with kde plasma desktop

../src/Overlap.h:4:10: fatal error: numbers: No such file or directory
    4 | #include <numbers>
cd $HOME/.installs/VapourSynthPlugins/vapoursynth-mvtools-sf
meson build

The Meson build system
Version: 0.53.2
Source dir: /home/xekon/.installs/VapourSynthPlugins/vapoursynth-mvtools-sf
Build dir: /home/xekon/.installs/VapourSynthPlugins/vapoursynth-mvtools-sf/build
Build type: native build
Project name: vapoursynth-mvtools-sf
Project version: 10
C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency vapoursynth found: YES 51
Run-time dependency vsfilterscript found: YES 1
Run-time dependency fftw3 found: YES 3.3.8
Build targets in project: 1

Found ninja-1.10.0 at /usr/bin/ninja

ninja -C build
ninja: Entering directory `build'
[1/2] Compiling C++ object 'vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.o'.
FAILED: vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.o 
c++ -Ivapoursynth-mvtools-sf@sha -I. -I.. -I/usr/local/include/vapoursynth -I/usr/local/include -I/usr/local/include/vsFilterScript -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++2a -O3 -Ofast -mfpmath=sse -msse2 -fPIC -MD -MQ 'vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.o' -MF 'vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.o.d' -o 'vapoursynth-mvtools-sf@sha/src_EntryPoint.cxx.o' -c ../src/EntryPoint.cxx
In file included from ../src/MVDegrain.hxx:13,
                 from ../src/EntryPoint.cxx:4:
../src/Overlap.h:4:10: fatal error: numbers: No such file or directory
    4 | #include <numbers>
      |          ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
IFeelBloated commented 4 years ago

gcc 10 is required

Jieiku commented 4 years ago

Thank you, that did the trick and I got this plugin installed.

Is vapoursynth-mvtools-sf the proper library to satisfy the needs for the module mvmulti?

If so what is the proper way to import vapoursynth-mvtools-sf, thanks.

import Vine
File "/usr/local/lib/python3.8/dist-packages/Vine.py", line 2, in 
import mvmulti
ModuleNotFoundError: No module named 'mvmulti'

script.vpy:

import vapoursynth as vs
import havsfunc as haf
import edi_rpow2 as edi
import Vine
core = vs.get_core()
ret = core.d2v.Source(input=r'/media/storage/show/01.d2v', rff=False)
ret.set_output()
IFeelBloated commented 4 years ago

the mvmulti python module is no longer required with the latest mvtool-sf plugin

Jieiku commented 4 years ago

Thank you!