alainbonardi / abclib

Faust code for ambisonic and multi-channel mixed music
GNU Lesser General Public License v3.0
49 stars 6 forks source link

Pd win11 faustgen unable to load ma.deg2rad #51

Open kerianVaraine opened 1 week ago

kerianVaraine commented 1 week ago

Hello, Going through the browser/external/abclib example patches, faustgen2~ fails to load due to ma.deg2rad in the dsp code. This doesn't appear to happen with other faust patches, so may be related to abclib more than faustgen2~

It often happens with abc_2d_decoderN.dsp, which throws the error: faustgen2~: abc_2d_decoder3.dsp : 56 : ERROR : undefined symbol : deg2rad

sletz commented 1 week ago

If is probably a Faust library version issue. How does faustgen2~ handle the libraries ?

kerianVaraine commented 1 week ago

I can only give a naive response for now, but will look more into it next week.

The examples are working fine in the faustgen/externals repo. For example, subtractive.dsp includes calls to the ma.* library included in the standardlib.

sletz commented 1 week ago

faustgen2~ has to be updated with the latest libraries.

kerianVaraine commented 1 week ago

Thank you, I used the pre-built release trying to avoid compiling it, but looks like I'll have to give that a go after all.