Hello List,

1- Doing Pd 0.54-1 compilation under RPi OS 11 Bullseye 32-bit on an RPi 400 was okay:
pd 0.54.1 is now configured
    Platform:             Linux
    Float size:           default
    Debug build:          no
    Universal build:      no
    Localizations:        yes
    Source directory:     .
    Installation prefix:  /usr/local

    Compiler:             gcc
    CPPFLAGS:             -DNDEBUG
    CFLAGS:               -ffast-math -fno-finite-math-only -funroll-loops -fomit-frame-pointer -O3  -g -O2
    LDFLAGS:
    INCLUDES:
    LIBS:                 -lpthread -ldl

    External extension:   pd_linux
    External CFLAGS:      -fPIC
    External LDFLAGS:     -Wl,--export-dynamic -fPIC
    Deken identifier:     linux-arm64

    fftw:                 no
    wish(tcl/tk):         wish
    watchdog:             yes
    audio APIs:           PortAudio JACK ALSA OSS
    midi APIs:            ALSA OSS
    libpd:                no

2- I installed yesterday the new Raspberry Pi OS 12 Bookworm 64-bit, with PipeWire set by default, on my Rapsberry Pi 400. Trying to compile Pd 0.54-1 is not okay with ALSA gone for both AUDIO & MIDI:
pd 0.54.1 is now configured
    Platform:             Linux
    Float size:           default
    Debug build:          no
    Universal build:      no
    Localizations:        no
    Source directory:     .
    Installation prefix:  /usr/local

    Compiler:             gcc
    CPPFLAGS:             -DNDEBUG
    CFLAGS:               -ffast-math -fno-finite-math-only -funroll-loops -fomit-frame-pointer -O3  -g -O2
    LDFLAGS:
    INCLUDES:
    LIBS:

    External extension:   pd_linux
    External CFLAGS:      -fPIC
    External LDFLAGS:     -Wl,--export-dynamic -fPIC
    Deken identifier:     linux-arm64

    fftw:                 no
    wish(tcl/tk):         wish
    watchdog:             yes
    audio APIs:           PortAudio JACK OSS
    midi APIs:            OSS
    libpd:                no

And at the 'make' step of the compilation I get:
portaudio/src/hostapi/alsa/pa_linux_alsa.c:52:10: fatal error: alsa/asoundlib.h: Aucun fichier ou dossier de ce type
   52 | #include <alsa/asoundlib.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:746 : portaudio/src/hostapi/alsa/pa_linux_alsa.o] Erreur 1 make[2] : on quitte le répertoire « /home/joe/Desktop/Pd/pd-0.54-1/portaudio »
make[1]: *** [Makefile:539 : all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/joe/Desktop/Pd/pd-0.54-1 »
make: *** [Makefile:442 : all] Erreur 2

Q: How can we fix that for using Pd with PipeWire (an upcoming standard) under the latest RPi OS?  Note1: I know we can step back from PipeWire to PulseAudio in Raspi-Config => 6 Advanced Options => A7 Audio Config (choice between PulseAudio and PipeWire-default).  Note2: Pd 0.53-1 (puredata-0.53.1+ds-2) from the RPi OS 12 64-bit repos doesn't have these ALSA issues (true for both Audio & Midi) even with PipeWire active.

Thanks,
Joseph Gastelais



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to