Code: Select all
niels@dulcinea:~/src/plugins/fps-plugins.lv2$ make
g++ -std=c++20 -O3 -march=native -mtune=native -I./vendored -Wall -pedantic `pkg-config lv2 sndfile fftw3f --cflags` stereo_decorrelation.cc vendored/FFTConvolver/AudioFFT.cpp vendored/FFTConvolver/Utilities.cpp vendored/FFTConvolver/FFTConvolver.cpp -shared -o lv2/fps-plugins.lv2/stereo_decorrelation.so -fPIC `pkg-config lv2 sndfile fftw3f --libs`
In file included from /usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:34,
from /usr/include/c++/12/random:50,
from stereo_decorrelation.h:6,
from stereo_decorrelation.cc:13:
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:50:17: error: ‘__m128’ does not name a type; did you mean ‘__int128’?
50 | extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~
| __int128
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:56:17: error: ‘__m128’ does not name a type; did you mean ‘__int128’?
56 | extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~
| __int128
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:62:17: error: ‘__m128’ does not name a type; did you mean ‘__int128’?
62 | extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~
| __int128
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:68:17: error: ‘__m128’ does not name a type; did you mean ‘__int128’?
68 | extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~
| __int128
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:74:17: error: ‘__m128’ does not name a type; did you mean ‘__int128’?
74 | extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~
| __int128
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:80:17: error: ‘__m128d’ does not name a type
80 | extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:86:17: error: ‘__m128d’ does not name a type
86 | extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:92:17: error: ‘__m128d’ does not name a type
92 | extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:98:17: error: ‘__m128d’ does not name a type
98 | extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:104:17: error: ‘__m128d’ does not name a type
104 | extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/12/include/pmmintrin.h:110:17: error: ‘__m128i’ does not name a type
110 | extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h: In member function ‘void std::normal_distribution<_RealType>::__generate(result_type*, result_type*, _UniformRandomNumberGenerator&, const param_type&) [with _RealType = double]’:
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:70:22: error: ‘__m128i’ does not name a type
70 | static const __m128i __mask = _mm_set1_epi64x(__maskval);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:71:22: error: ‘__m128i’ does not name a type
71 | static const __m128i __two = _mm_set1_epi64x(0x4000000000000000ull);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:72:22: error: ‘__m128d’ does not name a type
72 | static const __m128d __three = _mm_set1_pd(3.0);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:73:15: error: ‘__m128d’ does not name a type
73 | const __m128d __av = _mm_set1_pd(__param.mean());
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:83:13: error: ‘__m128d’ was not declared in this scope; did you mean ‘fftconvolver::__m128d’?
83 | __m128d __x;
| ^~~~~~~
| fftconvolver::__m128d
In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/xmmintrin.h:1316,
from ./vendored/FFTConvolver/Utilities.h:43,
from ./vendored/FFTConvolver/FFTConvolver.h:26,
from stereo_decorrelation.cc:9:
/usr/lib/gcc/x86_64-linux-gnu/12/include/emmintrin.h:54:16: note: ‘fftconvolver::__m128d’ declared here
54 | typedef double __m128d __attribute__ ((__vector_size__ (16), __may_alias__));
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:88:19: error: ‘__m128i’ does not name a type
88 | __m128i __i;
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:89:19: error: ‘__m128d’ does not name a type
89 | __m128d __d;
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:97:47: error: ‘__mask’ was not declared in this scope; did you mean ‘fd_mask’?
97 | __mask);
| ^~~~~~
| fd_mask
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:114:35: error: there are no arguments to ‘_mm_set_epi64x’ that depend on a template parameter, so a declaration of ‘_mm_set_epi64x’ must be available [-fpermissive]
114 | __v.__i = _mm_set_epi64x(__v1, __v2);
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:114:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:125:45: error: there are no arguments to ‘_mm_set_epi64x’ that depend on a template parameter, so a declaration of ‘_mm_set_epi64x’ must be available [-fpermissive]
125 | __v.__i = _mm_and_si128(_mm_set_epi64x(__v1, __v2),
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:126:45: error: ‘__mask’ was not declared in this scope; did you mean ‘fd_mask’?
126 | __mask);
| ^~~~~~
| fd_mask
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:174:31: error: there are no arguments to ‘_mm_set_epi64x’ that depend on a template parameter, so a declaration of ‘_mm_set_epi64x’ must be available [-fpermissive]
174 | __v.__i = _mm_set_epi64x(__v1, __v2);
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:177:49: error: ‘__two’ was not declared in this scope
177 | __v.__i = _mm_or_si128(__v.__i, __two);
| ^~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:178:17: error: ‘__x’ was not declared in this scope; did you mean ‘__v’?
178 | __x = _mm_sub_pd(__v.__d, __three);
| ^~~
| __v
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:178:43: error: ‘__three’ was not declared in this scope
178 | __x = _mm_sub_pd(__v.__d, __three);
| ^~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:179:24: error: expected ‘;’ before ‘__m’
179 | __m128d __m = _mm_mul_pd(__x, __x);
| ^~~~
| ;
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:180:51: error: ‘__m’ was not declared in this scope; did you mean ‘__v’?
180 | __le = _mm_cvtsd_f64(_mm_hadd_pd (__m, __m));
| ^~~
| __v
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:180:38: error: there are no arguments to ‘_mm_hadd_pd’ that depend on a template parameter, so a declaration of ‘_mm_hadd_pd’ must be available [-fpermissive]
180 | __le = _mm_cvtsd_f64(_mm_hadd_pd (__m, __m));
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:187:13: error: ‘__x’ was not declared in this scope; did you mean ‘__f’?
187 | __x = _mm_add_pd(_mm_mul_pd(__x, _mm_set1_pd(__mult)), __av);
| ^~~
| __f
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:187:46: error: there are no arguments to ‘_mm_set1_pd’ that depend on a template parameter, so a declaration of ‘_mm_set1_pd’ must be available [-fpermissive]
187 | __x = _mm_add_pd(_mm_mul_pd(__x, _mm_set1_pd(__mult)), __av);
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:187:68: error: ‘__av’ was not declared in this scope
187 | __x = _mm_add_pd(_mm_mul_pd(__x, _mm_set1_pd(__mult)), __av);
| ^~~~
/usr/include/x86_64-linux-gnu/c++/12/bits/opt_random.h:189:13: error: there are no arguments to ‘_mm_storeu_pd’ that depend on a template parameter, so a declaration of ‘_mm_storeu_pd’ must be available [-fpermissive]
189 | _mm_storeu_pd(__f, __x);
| ^~~~~~~~~~~~~
make: *** [makefile:32: lv2/fps-plugins.lv2/stereo_decorrelation.so] Error 1