Hello,
I'm new to Pure Data on Bela, so just looking for a sanity check here!
Below is my experience of compiling Cyclone v0.5-6 for Pd (the newest prebuilt binary was v0.3, from 2018). It all seemed to compile okay (apart from the warnings!), and I have a test patch working. I guess my question is, is this the correct way of compiling libraries for PD on Bela? Are there any up to date guides for doing this? I was working off https://github.com/BelaPlatform/Bela/issues/621 and https://forum.bela.io/d/101-compiling-puredata-externals/100, but I had to fill in the gaps a little myself.
Following those instructions, I did make PDINCLUDEDIR=/usr/local/include/libpd/. This threw an error because of missing headers, so I added all the missing ones from https://github.com/pure-data/pure-data/releases/tag/0.51-4, to match the version of Pd on Bela. I only copied over those that were missing, the original contents of /usr/local/include/libpd/ were left as is. This is what /usr/local/include/libpd/ now contains:
g_all_guis.h g_canvas.h g_undo.h m_imp.h m_pd.h ringbuffer.h s_audio_alsa.h s_audio_paring.h s_net.h s_stuff.h s_utf8.h util x_vexp.h z_libpd.h
Thanks (esp @giuliomoro for all the knowledge!)
Brian
Running Pd 0.51-4
Audio channels in use: 2
Analog channels in use: 8
Digital channels in use: 16
No MIDI device enabled
pd 0.51.4
bonk version 1.5
fiddle version 1.1 TEST4
pique 0.1 for PD version 23
sigmund~ version 0.07
-------------------------------------------------------------------
-----> ELSE - EL Locus Solus' Externals for Pure Data <-----
-------------------------------------------------------------------
- Version: 1.0-0 rc-5; Released december 17th 2022
- Author: Alexandre Torres Porres
- Repository: https://github.com/porres/pd-else
- License: Do What The Fuck You Want To Public License
(unless otherwise noted in particular objects)
error: - ELSE 1.0-0 rc-5 needs at least Pd 0.53-0
verbose(4): ... you might be able to track this down from the Find menu.
error: (you have 0.51-4, please upgrade)
-------------------------------------------------------------------
- NOTE: This library also includes a tutorial that depends
on this library by Alexandre Torres Porres!!!
Find the "Live-Electronics-Tutorial" folder inside the "else"
folder. Please check its README on how to install it!
-------------------------------------------------------------------
- ALSO NOTE: Loading this binary did not install the ELSE library
you still need to add it to the "preferences=>path"
or use [declare -path else]
-------------------------------------------------------------------
-----> ELSE - EL Locus Solus' Externals for Pure Data <-----
-------------------------------------------------------------------
------------------------------------------------------------------------
Cyclone 0.3 RC1 (Release Candidate 1); Release date: June 28th 2018
Loading the cyclone library did the following:
A) Loaded the non alpha-numeric objects, which are:
[!-], [!-~], [!/], [!/~], [!=~], [%~], [+=~], [<=~], [<~], [==~], [>=~] and [>~]
B) Added .//../pd-externals/cyclone
to Pd's path so the other objects can be loaded too
------------------------------------------------------------------------`