Hello Alexandre,

No luck from the beginning with Errors starting from line 51 with:
pi@RPi400:~/Downloads/pd-else-master $ make install objectsdir=~/else-build
Using 'sudo' before the command is not better.

Note-1: Of course, the pd-else-master.zip, downloaded today from your Else Git has been decompressed.
Note-2: Neither '/home/pi/else-build/else' nor '/home/pi/else-build' have been created.
Note-3: You can see that here the architecture is for 'armv7' (on my RPi 400 / RPi OS11 32-bit).

See the terminal output in the here attached file.
Any idea how to fix that?

Thanks.
Best, Joseph
= = = = = = = = = =

Le 02/08/2023 à 04:29, Alexandre Torres Porres a écrit :
cool, just try the current master, as I think I solved some issues for building these objects there and I'm still adding new features and will release the final update with them anyway...

Em ter., 1 de ago. de 2023 às 19:32, Linux ROUEN Normandie <linux.rouen@free.fr> escreveu:
Thanks for your clarifications. It's clearer and my understanding has increased a bit.
Now I will make my home work, including the 3 [~] objects, hoping I will not face to an unbreakable wall.
Let's see. I will keep you posted...

--------------------
Best, Joseph
--------------------

Le 01/08/2023 à 01:41, Alexandre Torres Porres a écrit :
Em seg., 31 de jul. de 2023 às 16:47, Linux Rouen Normandie <linux.rouen@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