giuliomoro
Sorry, I didn't refresh my web page before to answer you this morning.
Thanks again more 🙂
It's just perfect to download directly compiled armv7 versions from deken !

Download successful !

The installation seemed ok, but when I checked that the new objects were installed, the BELA IDE gave me the error

"couldn't create"

So I checked the contents of the >pd-externals folder by reconnecting to Bela via the terminal and via the line

ls ~/Bela/projects/pd-externals

The result is this

ggee pd-externals-for-bela

So I reinstalled with the correct addresses for each new isolated library

scp -r root@bela.local /Users/MYUSERNAME/Desktop/pd-externals-for-bela/iemlib root@bela.local:Bela/projects/pd -externals/

And so on.

I then checked for the presence of the files in pd-externals, then checked inside the folders. Everything is OK !

On the other hand, Impossible to create these new objects!
Only the ggee library works (the one I compiled myself following your first instructions)

giuliomoro
This is what the IDE shows when I run the attached test patch

Running Pd 0.48-2
Audio channels in use: 2
Analog channels in use: 8
Digital channels in use: 16
No MIDI device enabled
bonk version 1.5
fiddle version 1.1 TEST4
pique 0.1 for PD version 23
sigmund~ version 0.07
error: ../pd-externals/iemlib/iemlib.l_arm: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by ../pd-externals/iemlib/iemlib.l_arm)
sparse_FIR~
error: ... couldn't create
verbose(4): ... you might be able to track this down from the Find menu.
unsig~
error: ... couldn't create
char2f
error: ... couldn't create

alt text

The most worrying error there is
"version GLIBC_2.29 not found", thrown by iemlib. It means it may have been built against a more recent version of libm than what is currently on the board. I am confused though, because I don't have a iamlib.l_arm file in my folder ... can you show the output of ls /root/Bela/projects/pd-externals/iemlib/iemlib* ? Either way, it would seem that the only way around this is to build it from source but I would expect that [unsig~] should still work because it's an abstraction and in fact it works for me with the most recent version of the Bela code. I see you are using an old-ish version there with Pd 0.48-2, while we are now shipping 0.51.

lokki have you tried prepending the library name?

I think the -path should take care of that. In fact it works for me with Bela's Pd 0.51: iemlib's library of externals is not loaded because of said error, which means that the spares_FIR~ external won't work , but the iemlib's abstraction [unsig~] loads and so does moonlib's external [char2f].

alt text

@heliopolarthing I recommend you update your board's core code as explained here https://learn.bela.io/using-bela/bela-techniques/updating-bela/ and then try again and moonlib should work. Iemlib will need to be compiled. I can do that if you don't want to give it a try.

    giuliomoro
    Still perfect!
    Thanks again 🙂

    I did follow @lokki's advice.

    And I made the same observation.
    I then tried to compile iemlib with the same instructions as those detailed in post #100 (cyclone and ggee).
    But still the same.
    I then monitored the file contained in the bela via the terminal, and it appears a sparse_FIR~-help.pd and a sparse_FIR~.c
    Then directly in the IDE folder manager, where there is only a sparse_FIR~-help.pd

    Strangely, the [char2f] object started to work after turning the bela off and on again.

    Oops, I'll go update it.

    And check if the patch for which I am trying to install all these libraries works with the few iemlib objects that already work.

    These efforts are to be able to use the AutoPreset library
    https://github.com/MetaluNet/AutoPreset
    It consists of a series of abstractions allowing to make presets of all the settings of the patch, and to be able to interpolate these values ​​(if float) from one preset to another.

    All this to morph the presets of an i2c / midi / 8cv in / 2 audio in >>> i2c / midi / 8 cv out / 2 audio out matrix into my eurorack system + Digitakt + OTO Bam, with the Pepper.

    giuliomoro
    It works !

    I've finally find a mix between [declare WITH THE EXACT PATH] and importing abstractions directly in the project.
    And I have 0 error message concerning librairies.

    But.... I've a new one 😢

    alt text

    I need to read and write a text file.

    Please, is it possible to read and write a text file in Bela with pure data ?

    Note, I since imported a float.txt in my project with the IDE.
    I also simply changed the [apmasterfile $0-FloatPatterns p/float.txt] in my patch by [apmasterfile $0-FloatPatterns float.txt]
    So 0 error now.

    Just need to know if it is possible to store values in a text file ?

    I'll test it tomorrow in my modular synth setup.

      if p/float.txt is a relative path, then it may assume that the folder p already exists. The error you see can't open suggests that it cannot create that file because the p/ folder doesn't exist. So the solution is to either create that folder in the project , or change the path from p/float.txt to float.txt just like you did for the [apmasterfile ...] object.

      heliopolarthing I've finally find a mix between [declare WITH THE EXACT PATH] and importing abstractions directly in the project.

      Weeell if you copied the abstractions directly in the project, then the [declare -path] does nothing to help ... have you updated your Bela code as recommended above? Did you manage to rebuild the iemlib library of externals?

      • CB1 replied to this.
        22 days later

        Hi giuliomoro
        I've been trying to install some of the libraries you've built from : https://github.com/BelaPlatform/Bela/issues/621 on a bela mini running the latest install.

        I got no errors when installing. But then it couldn't create the objects.

        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/pmosc~ 200 1 1
        error: ... couldn't create
        verbose(4): ... you might be able to track this down from the Find menu.
        else/pipe2
        error: ... couldn't create
        else/plate.rev~
        error: ... couldn't create
        root@bela ~/Bela#

        I used the declare object as suggested, but it just said it couldn't create.

        Any ideas?
        Do I need to rebuild the libraries myself?

        alt text

        Can you show the output of executing the command find /root/Bela/projects/pd-externals in the console at the bottom of the IDE?

        • CB1 replied to this.

          giuliomoro

          /root/Bela/projects/pd-externals
          /root/Bela/projects/pd-externals/settings.json

          • CB1 replied to this.

            CB1

            I figured it out. As you thought there was nothing in the pd-external folders after the install.

            I executed the four cmds individually and they installed correctly.
            Thanks

              10 months later