AriaSalvatrice / AriaModules

Aria Salvatrice's Signature Series - Cool and Nice virtual synthesizer modules
https://aria.dog/modules/
GNU General Public License v3.0
61 stars 14 forks source link

Compile failure on Mac platform #1

Closed cschol closed 4 years ago

cschol commented 4 years ago

Compile failure on Mac platform:

src/Splirge.cpp:47:24: error: implicit instantiation of undefined template 'std::__1::array<float, 4>'
                std::array<float, 4> splitVoltages;
                                     ^
/home/cschol/src/osxcross/target/bin/../SDK/MacOSX10.13.sdk/usr/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
src/Splirge.cpp:64:24: error: implicit instantiation of undefined template 'std::__1::array<float, 4>'
                std::array<float, 4> mergedVoltages;
                                     ^
/home/cschol/src/osxcross/target/bin/../SDK/MacOSX10.13.sdk/usr/include/c++/v1/__tuple:223:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;

You are missing an explicit

#include <array>

at the top of the file. This is required for Mac platform only.