-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello, I tried build version for MS Windows and I can't make it. I did by the manual for win compiling but I got this error
make
make[1]: Entering directory '/home/Admin/GxPlugins.lv2/GxAxisFace.lv2'
. . , clean up
generate resource files,
cd ./gui && ld -r -b binary pedal.png -o pedal.o
cd ./gui && ld -r -b binary pswitch_on.png -o pswitch_on.o
cd ./gui && ld -r -b binary pswitch_off.png -o pswitch_off.o
g++ -D_FORTIFY_SOURCE=2 -I. -I./dsp -I./plugin -fPIC -DPIC -O2 -Wall -fstack-protector -funroll-loos -ffast-math -fomit-frame-pointer -fstrength-reduce -fdata-sections -Wl,--gc-sections -msse3 -mfpath=sse pkg-config --static --cflags lv2 plugin/gx_AxisFace.cpp -I. -shared -static -lpthread -lm-o gx_AxisFace.dll
plugin/gx_AxisFace.cpp:43:11: error: 'int32_t' has not been declared
43 | template <int32_t N> inline float faustpower(float x)
| ^~~~~~~
plugin/gx_AxisFace.cpp: In function 'float faustpower(float)':
plugin/gx_AxisFace.cpp:45:18: error: 'N' was not declared in this scope
45 | return powf(x, N);
| ^
plugin/gx_AxisFace.cpp: At global scope:
plugin/gx_AxisFace.cpp:47:11: error: 'int32_t' has not been declared
47 | template <int32_t N> inline double faustpower(double x)
| ^~~~~~~
plugin/gx_AxisFace.cpp: In function 'double faustpower(double)':
plugin/gx_AxisFace.cpp:49:17: error: 'N' was not declared in this scope
49 | return pow(x, N);
| ^
plugin/gx_AxisFace.cpp: At global scope:
plugin/gx_AxisFace.cpp:51:11: error: 'int32_t' has not been declared
51 | template <int32_t N> inline int32_t faustpower(int32_t x)
| ^~~~~~~
plugin/gx_AxisFace.cpp:51:29: error: 'int32_t' does not name a type
51 | template <int32_t N> inline int32_t faustpower(int32_t x)
| ^~~~~~~
plugin/gx_AxisFace.cpp:26:1: note: 'int32_t' is defined in header ''; this is probably fix
ble by adding '#include '
25 | #include <unistd.h>
+++ |+#include
26 |
plugin/gx_AxisFace.cpp:55:25: error: 'int32_t' does not name a type
55 | template <> inline int32_t faustpower<0>(int32_t x)
| ^~~~~~~
plugin/gx_AxisFace.cpp:55:25: note: 'int32_t' is defined in header ''; this is probably fi
able by adding '#include '
plugin/gx_AxisFace.cpp:59:25: error: 'int32_t' does not name a type
59 | template <> inline int32_t faustpower<1>(int32_t x)
| ^~~~~~~
plugin/gx_AxisFace.cpp:59:25: note: 'int32_t' is defined in header ''; this is probably fi
able by adding '#include '
In file included from plugin/gx_AxisFace.cpp:68:
./dsp/AxisFace.cc: In member function 'void AxisFace::Dsp::init(uint32_t)':
./dsp/AxisFace.cc:285:33: error: no matching function for call to 'faustpower<2>(double&)'
285 | fConst83 = faustpower<2>(fConst0);
| ~~~~~~~~~~~~~^~~~~~~~~
plugin/gx_AxisFace.cpp:43:35: note: candidate: 'template< > float faustpower(flo
t)'
43 | template <int32_t N> inline float faustpower(float x)
| ^~~~~~~~~~
plugin/gx_AxisFace.cpp:43:35: note: template argument deduction/substitution failed:
plugin/gx_AxisFace.cpp:47:36: note: candidate: 'template< > double faustpower(do
ble)'
47 | template <int32_t N> inline double faustpower(double x)
| ^~~~~~~~~~
plugin/gx_AxisFace.cpp:47:36: note: template argument deduction/substitution failed:
make[1]: *** [Makefile:160: gx_AxisFace] Error 1
make[1]: Leaving directory '/home/Admin/GxPlugins.lv2/GxAxisFace.lv2'
make: *** [Makefile:10: GxAxisFace.lv2/] Error 2