dhemery / DHE-Modules

VCV rack modules from Dale Emery
MIT License
33 stars 2 forks source link

v1 build error #14

Closed davephillips closed 5 years ago

davephillips commented 5 years ago

Fedora 23 Linux Rack v1.dev.d648860 GCC 5.3.1

Hi Dale ! I'm taking another swing at building your plugin for v1 but I've hit an error I can't resolve:

g++  -Wsuggest-override -std=c++11 -I./include -fPIC -I../../include -I../../dep/include -MMD -MP -g -O3 -march=athlon-fx -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/modules/Func.cpp.o src/modules/Func.cpp
In file included from ./include/modules/FuncChannel.h:6:0,
                 from ./include/modules/Func.h:5,
                 from src/modules/Func.cpp:1:
./include/util/signal.h:14:23: error: ‘array’ in namespace ‘std’ does not name a template type
 auto ranges() -> std::array<Range const *, 2> const &;
                       ^
./include/util/signal.h:14:28: error: expected initializer before ‘<’ token
 auto ranges() -> std::array<Range const *, 2> const &;
                            ^
../../compile.mk:62: recipe for target 'build/src/modules/Func.cpp.o' failed
make: *** [build/src/modules/Func.cpp.o] Error 1

Google tells me it's because the compiler isn't using -std=c++11 but it is, as far as I can tell. Any suggestions for repair ?

dhemery commented 5 years ago

V1 is not ready at all, and I don’t yet support it. I’m going to delete the v1 branch, because it apparently gives the impression that I’ve made more progress than I have. I appreciate your interest (and eagerness).

dhemery commented 5 years ago

My v1 branch now builds and runs on my Mac. And it builds cleanly in my Linux docker image. Give it a try and see if you like it.

Caveat: I'm not making any promises about keeping the v1 branch stable.