[PD] Building ELSE for Pd Vanilla (here RPi OS 11 32-bit)

Alexandre Torres Porres porres at gmail.com
Tue Aug 1 01:41:21 CEST 2023


Em seg., 31 de jul. de 2023 às 16:47, Linux Rouen Normandie <
linux.rouen at free.fr> escreveu:

> Hello Alexandre,
> Well, I'm back with 5 basic (-questions-) for "dummies" embedded into your
> here below Building instructions...
>

Maybe not the best place to discuss this, but then I could actually use
some help form others, as, like I just said in the other subject/thread, my
experience with linux and raspberry pi is limited.

I have a VM in a mac that runs ubuntu and I'm able to cross compile in it
for raspberry pis thanks to a friend who set it up for me, but I was never
able to use it to compile these new three objects that need more steps.

Anyway, thanks for your interest and help, let's dig in...


> => So I installed pd-lib-builder-0.6.0-1 from Add/Remove Software (RPi OS
> 11 32-bit / RPi 400), done.
>

I do provide pd-lib-builder in a subfolder of the ELSE source code, so you
don't really need to bother installing it yourself.



> 1. Installing with pdlibbuilder
> Go to the pd-else folder *(-Which folder? The decompressed downloaded
> source code file?-)*
>

Yup. If you're cloning from github you should have this "pd-else" folder.
If you download the source from the github site you get something like
"pd-else-master" or "pd-else-1.0-rc9-pre-test" (preferred for what you
want, which is building this release). Just just go to this directory on
your terminal to run the make code.


> and use "objectsdir" to set an *absolute* path for your build, something
> like:
>     make install objectsdir=~/else-build
> Then move it (-What?-)
>

move the built and generated folder. In this case it would be a folder
called "else" created inside a "else-build" subfolder in the source code of
ELSE.

I actually do "objectsdir=../" and look for the 'else' folder in the same
folder as the source code of ELSE...

So, when you're done generating your folder, move it to install it as any
external library into your preferred externals folder.


> from there to your preferred install folder for Pd *(-What do you mean by
> 'your Preferred install folder for Pd'?-)*
>

Wherever you like. I use the ~/Documents/Pd/externals folder.


> and add it to the path *(-How and to which one?-)*.
>

Add the else folder (wherever it is) to the user added search paths, that
you can set under preferences ==> path



> 2. Installing sfont~, sfz~ and plaits~
> (...)
> To install them with the rest of ELSE you can build from the toplevel
> source directory *(-?-)*
>

That is the same directory for the regular build, like "pd-else".


> using the special 'sfont', 'sfz' and 'plaits' targets:
>     make sfont sfz plaits pdincludepath=~/pd-0.54-0/src/
>     make sfont-install sfz-install plaits-install objectsdir=~/else-build
>

I don't really use 'pdincludepath'... pdlibbuilder finds it if you have it.
But you gotta have pd-0.54-0 installed, preferably just this version.

Like I said in the other thread, you need to have 'cmake' installed, which
may be something that comes out of the box in raspberry pi?

Anyway, that's all I know, that's what I need to do to build it in my mac,
but I have no idea if it'll run smoothly in a raspberry pi and I'm afraid I
won't know what to do if you hit a wall :)

Hope it works, let us know

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230731/17c430c8/attachment-0001.htm>


More information about the Pd-list mailing list