Hi there.

I made a pd patch and after some issues
— as seems to be like a limited subpaches layers number which doesn't allow to display the main.pd on IDE, but it's easy to convert them as abstraction —
the problem is now when I "build & run" the
main.pd,
the Bela stop with sending the message bellow.
— After some research on the forum,
https://github.com/BelaPlatform/Bela/issues/521
the "[runide] Error " is not a problem.—
Is there somebody who already have this "Illegal instruction" message ?
Thanks !
Building project ...
Build finished
Running project ...
Running Pd 0.51-4
Audio channels in use: 2
Analog channels in use: 8
Digital channels in use: 16
No MIDI device enabled
Illegal instruction
make: *** [runide] Error 132
Makefile:621: recipe for target 'runide' failed
Bela stopped

Bela Pepper v0.3.8g, 28 June 2022/ MacOs / Pd-0.52-2

I finally found that the incriminated object seems to be [sf2~].
I don't know why, for now.

    FatJak I finally found that the incriminated object seems to be [sf2~].

    Where did you get the sf2~ build from?

    Hi Giulio,
    Sorry for the lack of information.
    It comes from "else" library, Alexandre Torres Porres.
    "[sig2float~] converts signals to floats. The conversion occurs at a time rate defined by the 1st argument or right inlet."
    I have delete the object from the patch (because it was not crutial, just to visualise an amplitude) so that the patch could run, exept I've got now problem with a lot of missing object messages, despite of having install the else library. (cf https://forum.bela.io/d/970-where-and-how-to-install-pd-externals/19).
    If i run it alone in a _main.pd patch, it display:

    fiddle version 1.1 TEST4
    pique 0.1 for PD version 23
    sigmund~ version 0.07
    s2f~
    error: ... couldn't create
    verbose(4): ... you might be able to track this down from the Find menu.

    If I upload all the [s2f~] objects from the else library to the IDE, i have:
    - many files which take place in the "Ressources" section.
    - one "s2f~.c" which take place in the "Sources" section.

    But, I can't "Build & run" the _main.pd without having this message:

    Building project ...
    Building s2f~.c...
    Makefile:523: recipe for target '/root/Bela/projects/ADACOR506/build/s2f~.o' failed
    Build finished
    'm_pd.h' file not found column: 10, line: 3
    /root/Bela/projects/ADACOR506/s2f~.c:3:10: fatal error: 'm_pd.h' file not found
    #include "m_pd.h"
    ^
    1 error generated.
    make: *** [/root/Bela/projects/ADACOR506/build/s2f~.o] Error 1
    /root/Bela/projects/ADACOR506/s2f~.c:3:10: fatal error: 'm_pd.h' file not found
    #include "m_pd.h"
    ^
    1 error generated.
    make: *** [/root/Bela/projects/ADACOR506/build/s2f~.o] Error 1

    And if I delete the "s2f~.c" which take place in the "Sources" section and "build & run" the patch, I've got :

    Building project ...
    Linking...
    ...done
    Build finished
    Running project ...
    Running Pd 0.51-4
    Audio channels in use: 2
    Analog channels in use: 8
    Digital channels in use: 16
    No MIDI device enabled
    Illegal instruction
    Makefile:621: recipe for target 'runide' failed
    make: *** [runide] Error 132
    Bela stopped

      FatJak I upload all the [s2f~] objects from the else library to the IDE, i have

      You shouldn't do that. Only update files that end in .pd or .pd_linux remove all other files from the project

      FatJak No MIDI device enabled
      Illegal instruction
      Makefile:621: recipe for target

      So in this case there is a sf2~.pd_linux file in your folder and/or in the pd-externals folder? Where did you get this file from?

        giuliomoro i guess from
        https://github.com/BelaPlatform/Bela/files/4431515/else-v1.0-beta27.zip
        I have tried several times to delete my project and the "pd-externals" dummy project to make a "clean" install,
        and every time Bela ask to replace or not the files, as if everything was still in place after deleting the "pd-externals" dummy project.
        And because i have also try to manually upload objects (from my computer pd-externals library) in my project, could they are still there even after delete the project ?
        It become foggy for me !

        FatJak Or perhaps i don't understand which file you are speaking about ?

        that seems to be the right question to the answer. Weird that you'd get SIGILL from it. Anyhow that's an old version so I'll build a newer one.

          giuliomoro
          So, just to confirm what I believe to understand, it's not possible to use Pd externals before your intervention ?
          Or there is other ways to use them ?

          one can build them for themselves and not wait for me, but build instructions may change for each external which is why I am building them on request. In the issue you linked to I provide build instructions for building ELSE so you may want to try rebuilding its latest version following those instructions and maybe it'll work for you.

            giuliomoro Ok, ... this is going to be brainly overloaded for me. I've already hundred questions to even begin to try. I'll try one day. Thanks !

            can you confirm whether the illegal instruction error still happens with the latest build of else?