thanks

adding #include <memory> seems to fix the unique_ptr , but the error is
still in the same line when setting up the audio interface:

no match for 'operator ='
in file included from /usr/include/c++/14/memory:78

it first occurs in line 6877 in the Alsa Audiointerface part when using the
karplus.dsp example

there are further notes but I cant copy them from the Pi to mail right now.

possibly some other non standard lib is missing or incompatible


On Tue, 25 Aug 2026, 20:59 Christopher Arndt, <[email protected]> wrote:

> Am 25.08.26 um 20:01 schrieb ga:
> > I try to build with faust2alsa on Raspberry, but I get lots of errors in
> > the created cpp file, starting with for instance:
> >
> > 'unique_ptr' in namespace 'std' does not name a template type
> > 6859  std::unique_ptr<AudioInterface> fAudio;
> This sounds like a missing C++ standard lib header include.
>
> Older versions of GCC were a lot more lenient when it comes to proper
> includes. If I encounter something like this, I usually go to
> cppreference.com and look up the header file for the symbol named in the
> error message and edit the source file(s) to add the missing #include.
>
>
> Chris
>
>
> _______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to