almostEric / FrozenWasteland

Plugins for VCV Rack
Other
91 stars 18 forks source link

Compile failure on Linux platform #53

Closed cschol closed 4 years ago

cschol commented 4 years ago

The Linux compiler used for the build system does not support this type of initialization:

g++ -std=c++11 -Wsuggest-override  -Idep/include -I./src/ui -I./src/dsp-delay -I./src/dsp-filter/utils -I./src/dsp-filter/filters -I./src/dsp-filter/third-party/falco   -fPIC -I/workdir/Rack-SDK/include -I/workdir/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_LIN  -c -o build/src/SeedsOfChangeCVExpander.cpp.o src/SeedsOfChangeCVExpander.cpp
src/JustAPhaser.cpp:169:51: error: array must be initialized with a brace-enclosed initializer
  float lastFc[MAX_STAGES][MAX_CHANNELS] = {0.0,0.0};
                                                   ^
src/JustAPhaser.cpp:169:51: error: array must be initialized with a brace-enclosed initializer
/workdir/Rack-SDK/compile.mk:68: recipe for target 'build/src/JustAPhaser.cpp.o' failed
make: *** [build/src/JustAPhaser.cpp.o] Error 1
almostEric commented 4 years ago

fixed