[PD] external libraries for Raspberry Pi - how to compile?

IOhannes m zmölnig zmoelnig at iem.at
Sun Sep 12 21:30:29 CEST 2021


On 9/12/21 21:03, Ingo wrote:
> Yes! I can confirm it definitely!
> That's why I ran into these problems in the first place.


weird, because i cannot.
right now, i can only test on a remote RPi4, so here's a no-gui test:

```
$ cat test.pd
#N canvas 6 109 450 300 12;
#X obj 113 164 mergefilename;
#X obj 113 189 splitfilename;


$ pd -nrt -nogui -verbose -lib iemlib -send "pd quit" test.pd
input channels = 0, output channels = 2
Pd-0.49.0 ("") compiled for Debian (0.49.0-3) on 2019/01/29 at 11:09:07 UTC
opened 0 MIDI input device(s) and 0 MIDI output device(s).
[...]
tried /usr/lib/pd/extra/iemlib/iemlib.l_arm and failed
tried /usr/lib/pd/extra/iemlib/iemlib.pd_linux and succeeded
verbose(4): warning: class 'wrap' overwritten; old one renamed 
'wrap_aliased'
iemlib (1.21) library loaded!   (c) Thomas Musil Dec  2 2018 : 16:20:12
    musil at iem.at iem KUG Graz Austria
tried /home/iem/test.pd and succeeded
```

as you can see, the library loads ("tried .../iemlib.pd_linux and 
suceeded" *and* a banner greeting), and both [mergefilename] and 
[splitfilename] can be created (they did not fail to create).


so if you want this to get solved, i think you really ought to approach 
this more systematically.
*always* do all of the following:
- run pd with "-verbose"
- include the full information on how you attempt to load iemlib (or 
whatever library)
- check whether the library could actually be loaded (check for greeting 
banners)
- include the full error message you get.

so far, it seems that people have suggested you do a couple of things 
and your answers always lack either the information what you did or the 
information what you got.

gfmsad
IOhannes


for reference, my system is an RPi4 running Raspbian/buster

```
user at iemberry:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

user at iemberry:~ $ apt show pd-iemlib
Package: pd-iemlib
Version: 1.21-1+b2
Priority: optional
Section: sound
Source: pd-iemlib (1.21-1)
Maintainer: Debian Multimedia Maintainers 
<debian-multimedia at lists.debian.org>
Installed-Size: 1,201 kB
Depends: libc6 (>= 2.4), puredata | pd
Homepage: https://git.iem.at/pd/iemlib
Download-Size: 306 kB
APT-Manual-Installed: no
APT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf
[...]

user at iemberry:~ $ apt show puredata-core
Package: puredata-core
Version: 0.49.0-3
Priority: optional
Section: sound
Source: puredata
Maintainer: Debian Multimedia Maintainers 
<debian-multimedia at lists.debian.org>
Installed-Size: 3,019 kB
Provides: pd
Depends: libasound2 (>= 1.0.18), libc6 (>= 2.28), libjack-jackd2-0 (>= 
1.9.10+20150825) | libjack-0.125, libportaudio2 (>= 19+svn20101113)
Recommends: puredata-gui
Breaks: puredata (<< 0.43), puredata-doc (<< 0.43.0-5), puredata-gui (>> 
0.49.0+1~), puredata-gui (<< 0.49.0)
Replaces: puredata (<< 0.43), puredata-doc (<< 0.43.0-5)
Homepage: https://puredata.info
Download-Size: 567 kB
APT-Manual-Installed: no
APT-Sources: http://raspbian.raspberrypi.org/raspbian buster/main armhf
[...]
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210912/c852a447/attachment.sig>


More information about the Pd-list mailing list