GaussBlur.hxx: In member function 'auto GaussBlur::DrawFrame(auto:119, auto:120, auto:121)':
GaussBlur.hxx:35:25: error: invalid types 'long int[long int]' for array subscript
35 | ProcessedFrame[c][y][x] = GaussBlur(InputFrame[c].View(y, x));
| ^
In file included from EntryPoint.cxx:2:
GaussBlur.hxx: In instantiation of 'auto GaussBlur::DrawFrame(auto:119, auto:120, auto:121) [with auto:119 = int; auto:120 = VaporCore; auto:121 = VSFrameContext*]':
Interface.hxx:26:79: required from 'auto VaporInterface::Evaluate(auto:99, auto:100, auto:101, auto:102, auto:103, auto:104, auto:105 ...) [with FilterType = GaussBlur; auto:99 = int; auto:100 = int; auto:101 = void**; auto:102 = void**; auto:103 = VSFrameContext*; auto:104 = VSCore*; auto:105 = {const VSAPI*}]'
Interface.hxx:40:3: required from 'auto VaporInterface::Create(auto:106, auto:107, auto:108, auto:109, auto:110) [with FilterType = GaussBlur; auto:106 = const VSMap*; auto:107 = VSMap*; auto:108 = void*; auto:109 = VSCore*; auto:110 = const VSAPI*]'
Interface.hxx:45:9: required from 'auto VaporInterface::RegisterFilter(auto:111, auto:112) [with FilterType = GaussBlur; auto:111 = void (*)(const char*, const char*, void (*)(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*), void*, VSPlugin*); auto:112 = VSPlugin*]'
EntryPoint.cxx:9:64: required from here
GaussBlur.hxx:25:91: error: request for member 'Width' in 'InputFrame.Frame<const float>::operator[]<int>(0)', which is of non-class type 'int'
25 | auto ProcessedFrame = Frame<float>{ Core.AllocateFrame(InputFrame.Format, InputFrame[0].Width, InputFrame[0].Height, InputFrame) };
| ~~~~~~~~~~~~~~^~~~~
GaussBlur.hxx:25:112: error: request for member 'Height' in 'InputFrame.Frame<const float>::operator[]<int>(0)', which is of non-class type 'int'
25 | auto ProcessedFrame = Frame<float>{ Core.AllocateFrame(InputFrame.Format, InputFrame[0].Width, InputFrame[0].Height, InputFrame) };
| ~~~~~~~~~~~~~~^~~~~~
GaussBlur.hxx:25:8: error: no matching function for call to 'Frame<float>::Frame(<brace-enclosed initializer list>)'
25 | auto ProcessedFrame = Frame<float>{ Core.AllocateFrame(InputFrame.Format, InputFrame[0].Width, InputFrame[0].Height, InputFrame) };
| ^~~~~~~~~~~~~~
In file included from Clip.hxx:2,
from Map.hxx:2,
from Interface.hxx:2,
from EntryPoint.cxx:1:
Frame.hxx:24:2: note: candidate: 'Frame<PixelType>::Frame(Frame<PixelType>&&) [with PixelType = float]'
24 | Frame(Frame&& OtherFrame) {
| ^~~~~
Frame.hxx:24:2: note: conversion of argument 1 would be ill-formed:
Frame.hxx:21:2: note: candidate: 'Frame<PixelType>::Frame(const Frame<PixelType>&) [with PixelType = float]'
21 | Frame(const Frame& OtherFrame) {
| ^~~~~
Frame.hxx:21:2: note: conversion of argument 1 would be ill-formed:
Frame.hxx:15:2: note: candidate: 'template<class auto:43> Frame<PixelType>::Frame(auto:43)'
15 | Frame(auto RawFrame) {
| ^~~~~
Frame.hxx:15:2: note: template argument deduction/substitution failed:
Frame.hxx:14:2: note: candidate: 'constexpr Frame<PixelType>::Frame() [with PixelType = float]'
14 | Frame() = default;
| ^~~~~
Frame.hxx:14:2: note: candidate expects 0 arguments, 1 provided
In file included from EntryPoint.cxx:2:
GaussBlur.hxx:33:39: error: request for member 'Height' in 'InputFrame.Frame<const float>::operator[]<long int>(c)', which is of non-class type 'long int'
33 | for (auto y : Range{ InputFrame[c].Height })
| ~~~~~~~~~~~~~~^~~~~~
GaussBlur.hxx:33:4: error: no matching function for call to 'Range::Range(<brace-enclosed initializer list>)'
33 | for (auto y : Range{ InputFrame[c].Height })
| ^~~
In file included from Plane.hxx:2,
from Frame.hxx:3,
from Clip.hxx:2,
from Map.hxx:2,
from Interface.hxx:2,
from EntryPoint.cxx:1:
Range.hxx:38:2: note: candidate: 'template<class auto:12, class auto:13, class auto:14> Range::Range(auto:12, auto:13, auto:14)'
38 | Range(auto Startpoint, auto Endpoint, auto Step) {
| ^~~~~
Range.hxx:38:2: note: template argument deduction/substitution failed:
Range.hxx:32:2: note: candidate: 'template<class auto:10, class auto:11> Range::Range(auto:10, auto:11)'
32 | Range(auto Startpoint, auto Endpoint) {
| ^~~~~
Range.hxx:32:2: note: template argument deduction/substitution failed:
Range.hxx:27:2: note: candidate: 'template<class auto:9> Range::Range(auto:9)'
27 | Range(auto Endpoint) {
| ^~~~~
Range.hxx:27:2: note: template argument deduction/substitution failed:
Range.hxx:26:2: note: candidate: 'constexpr Range::Range()'
26 | Range() = default;
| ^~~~~
Range.hxx:26:2: note: candidate expects 0 arguments, 1 provided
Range.hxx:4:7: note: candidate: 'constexpr Range::Range(const Range&)'
4 | class Range final {
| ^~~~~
Range.hxx:4:7: note: conversion of argument 1 would be ill-formed:
Range.hxx:4:7: note: candidate: 'constexpr Range::Range(Range&&)'
Range.hxx:4:7: note: conversion of argument 1 would be ill-formed:
In file included from EntryPoint.cxx:2:
GaussBlur.hxx:34:40: error: request for member 'Width' in 'InputFrame.Frame<const float>::operator[]<long int>(c)', which is of non-class type 'long int'
34 | for (auto x : Range{ InputFrame[c].Width })
| ~~~~~~~~~~~~~~^~~~~
GaussBlur.hxx:34:5: error: no matching function for call to 'Range::Range(<brace-enclosed initializer list>)'
34 | for (auto x : Range{ InputFrame[c].Width })
| ^~~
In file included from Plane.hxx:2,
from Frame.hxx:3,
from Clip.hxx:2,
from Map.hxx:2,
from Interface.hxx:2,
from EntryPoint.cxx:1:
Range.hxx:38:2: note: candidate: 'template<class auto:12, class auto:13, class auto:14> Range::Range(auto:12, auto:13, auto:14)'
38 | Range(auto Startpoint, auto Endpoint, auto Step) {
| ^~~~~
Range.hxx:38:2: note: template argument deduction/substitution failed:
Range.hxx:32:2: note: candidate: 'template<class auto:10, class auto:11> Range::Range(auto:10, auto:11)'
32 | Range(auto Startpoint, auto Endpoint) {
| ^~~~~
Range.hxx:32:2: note: template argument deduction/substitution failed:
Range.hxx:27:2: note: candidate: 'template<class auto:9> Range::Range(auto:9)'
27 | Range(auto Endpoint) {
| ^~~~~
Range.hxx:27:2: note: template argument deduction/substitution failed:
Range.hxx:26:2: note: candidate: 'constexpr Range::Range()'
26 | Range() = default;
| ^~~~~
Range.hxx:26:2: note: candidate expects 0 arguments, 1 provided
Range.hxx:4:7: note: candidate: 'constexpr Range::Range(const Range&)'
4 | class Range final {
| ^~~~~
Range.hxx:4:7: note: conversion of argument 1 would be ill-formed:
Range.hxx:4:7: note: candidate: 'constexpr Range::Range(Range&&)'
Range.hxx:4:7: note: conversion of argument 1 would be ill-formed:
In file included from EntryPoint.cxx:2:
GaussBlur.hxx:35:56: error: request for member 'View' in 'InputFrame.Frame<const float>::operator[]<long int>(c)', which is of non-class type 'long int'
35 | ProcessedFrame[c][y][x] = GaussBlur(InputFrame[c].View(y, x));
| ~~~~~~~~~~~~~~^~~~
In file included from Clip.hxx:2,
from Map.hxx:2,
from Interface.hxx:2,
from EntryPoint.cxx:1:
Frame.hxx: In instantiation of 'auto& Frame<PixelType>::operator[](auto:46) [with auto:46 = int; PixelType = const float]':
GaussBlur.hxx:25:87: required from 'auto GaussBlur::DrawFrame(auto:119, auto:120, auto:121) [with auto:119 = int; auto:120 = VaporCore; auto:121 = VSFrameContext*]'
Interface.hxx:26:79: required from 'auto VaporInterface::Evaluate(auto:99, auto:100, auto:101, auto:102, auto:103, auto:104, auto:105 ...) [with FilterType = GaussBlur; auto:99 = int; auto:100 = int; auto:101 = void**; auto:102 = void**; auto:103 = VSFrameContext*; auto:104 = VSCore*; auto:105 = {const VSAPI*}]'
Interface.hxx:40:3: required from 'auto VaporInterface::Create(auto:106, auto:107, auto:108, auto:109, auto:110) [with FilterType = GaussBlur; auto:106 = const VSMap*; auto:107 = VSMap*; auto:108 = void*; auto:109 = VSCore*; auto:110 = const VSAPI*]'
Interface.hxx:45:9: required from 'auto VaporInterface::RegisterFilter(auto:111, auto:112) [with FilterType = GaussBlur; auto:111 = void (*)(const char*, const char*, void (*)(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*), void*, VSPlugin*); auto:112 = VSPlugin*]'
EntryPoint.cxx:9:64: required from here
Frame.hxx:60:22: error: invalid initialization of reference of type 'int&' from expression of type 'std::array<Plane<const float, PaddingPolicies::Spatial::<lambda(auto:33, auto:34, auto:35, auto:36, auto:37)> >, 3>::value_type' {aka 'Plane<const float, PaddingPolicies::Spatial::<lambda(auto:33, auto:34, auto:35, auto:36, auto:37)> >'}
60 | return Planes[Index];
| ^
make: *** [Makefile:2: all] Error 1
g++ -c -std=c++2a -fPIC -march=native -O3 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth -o EntryPoint.o EntryPoint.cxx
g++ -shared -fPIC -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lstdc++ -o lib${_plug}.so EntryPoint.o"