magnetophon / DigiDrie

A monster monophonic synth, written in faust.
GNU Affero General Public License v3.0
21 stars 0 forks source link

Errors when building plugin with DPF #43

Open crshrprt opened 1 year ago

crshrprt commented 1 year ago

Thank you for this interesting plugin.

I'm on Debian sid and I got some errors when building the plugin with DPF, following the instructions here:

Compiling parameter.cpp
In file included from parameter.cpp:4:
parameter.hpp:4073:32: error: field ‘programName’ has incomplete type ‘std::array<const char*, 31>’
 4073 |   std::array<const char *, 31> programName{
      |                                ^~~~~~~~~~~
In file included from /usr/include/c++/13/bits/memory_resource.h:47,
                 from /usr/include/c++/13/string:58,
                 from ../common/value.hpp:26,
                 from parameter.hpp:7:
/usr/include/c++/13/tuple:2005:45: note: declaration of ‘struct std::array<const char*, 31>’
 2005 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from parameter_preset.cpp:18:
parameter.hpp:4073:32: error: field ‘programName’ has incomplete type ‘std::array<const char*, 31>’
 4073 |   std::array<const char *, 31> programName{
      |                                ^~~~~~~~~~~
In file included from /usr/include/c++/13/bits/memory_resource.h:47,
                 from /usr/include/c++/13/string:58,
                 from ../common/value.hpp:26,
                 from parameter.hpp:7:
/usr/include/c++/13/tuple:2005:45: note: declaration of ‘struct std::array<const char*, 31>’
magnetophon commented 1 year ago

Thanks for your intrest! I have written the DSP part of the plugin, in faust, but I have no idea how the rest of it works. Let's hope @cu or @falkTX chime in!

falkTX commented 1 year ago

that part is not on dpf side, something is wrong with the code, maybe missing include? or using an early C++ version without std::array support?