almostEric / FrozenWasteland

Plugins for VCV Rack
Other
91 stars 18 forks source link

build fail with v0.6.1 Rack git source #22

Closed 573 closed 6 years ago

573 commented 6 years ago

Ubuntu 16.04 Linux Rack 0.6.x (from source) Plugin git tag 0.6.7 / master (both)

Hi Eric, I got a build error against the most recent changes to some Rack DSP code:

++ make dep make: Nothing to be done for 'dep'. ++ make g++ -Wsuggest-override -std=c++11 -DTEST -I./eurorack -I./src/dsp-delay -I./src/dsp-filter/utils -I./src/dsp-filter/filters -I./src/dsp-filter/third-party/falco -Wno-unused-local-typedefs -DSLUG=FrozenWasteland -fPIC -I../../include -I../../dep/include -DVERSION=0.6.7 -MMD -MP -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/PortlandWeather.cpp.o src/PortlandWeather.cpp In file included from src/PortlandWeather.cpp:5:0: ./src/dsp-delay/ringbuffer.hpp:14:8: error: redefinition of 'struct rack::RingBuffer<T, S>' struct RingBuffer { ^ In file included from ../../include/dsp/resampler.hpp:7:0, from ../../include/dsp/samplerate.hpp:2, from src/PortlandWeather.cpp:2: ../../include/dsp/ringbuffer.hpp:14:8: error: previous definition of 'struct rack::RingBuffer<T, S>' struct RingBuffer { ^ In file included from src/PortlandWeather.cpp:5:0: ./src/dsp-delay/ringbuffer.hpp:72:8: error: redefinition of 'struct rack::DoubleRingBuffer<T, S>' struct DoubleRingBuffer { ^ In file included from ../../include/dsp/resampler.hpp:7:0, from ../../include/dsp/samplerate.hpp:2, from src/PortlandWeather.cpp:2: ../../include/dsp/ringbuffer.hpp:71:8: error: previous definition of 'struct rack::DoubleRingBuffer<T, S>' struct DoubleRingBuffer { ^ In file included from src/PortlandWeather.cpp:5:0: ./src/dsp-delay/ringbuffer.hpp:218:8: error: redefinition of 'struct rack::AppleRingBuffer<T, S, N>' struct AppleRingBuffer { ^ In file included from ../../include/dsp/resampler.hpp:7:0, from ../../include/dsp/samplerate.hpp:2, from src/PortlandWeather.cpp:2: ../../include/dsp/ringbuffer.hpp:140:8: error: previous definition of 'struct rack::AppleRingBuffer<T, S, N>' struct AppleRingBuffer { ^ src/PortlandWeather.cpp: In member function 'virtual void PortlandWeather::step()': src/PortlandWeather.cpp:265:98: warning: operation on 'in' may be undefined [-Wsequence-point] in = inputs[IN_R_INPUT].active ? in = inputs[IN_R_INPUT].value : in = inputs[IN_L_INPUT].value;
^ ../../compile.mk:64: recipe for target 'build/src/PortlandWeather.cpp.o' failed make: *** [build/src/PortlandWeather.cpp.o] Error 1

573 commented 6 years ago

Will make two new issues out of this one (for master / tag 0.6.7 each).