<div dir="ltr">Ok, both compilations generate the exact same files and the process was the some. Only difference is the setup<div><br></div><div>air intel, mojave, xcode 11.3.1 (works)</div><div>pro intel, montrey xcode 13 (nope)</div><div><br></div><div>the error I get from the binary generated in the pro is </div><div><br></div><div><font color="#ff0000">/Users/ale/Downloads/fluidsynth~_pro/./fluidsynth~.pd_darwin: dlopen(/Users/ale/Downloads/fluidsynth~_pro/./fluidsynth~.pd_darwin, 10): Library not loaded: @loader_path/libfluidsynth.3.dylib</font></div><div><font color="#ff0000"><br>  Referenced from: /Users/ale/Downloads/fluidsynth~_pro/./fluidsynth~.pd_darwin<br>  Reason: no suitable image found.  </font></div><div><font color="#ff0000"><br></font></div><div><font color="#ff0000">Did find:<br>    /Users/ale/Downloads/fluidsynth~_pro/./libfluidsynth.3.dylib: cannot load 'libfluidsynth.3.dylib' (load command 0x80000034 is unknown)<br>        /Users/ale/Downloads/fluidsynth~_pro/libfluidsynth.3.dylib: cannot load 'libfluidsynth.3.dylib' (load command 0x80000034 is unknown)</font><br></div><div><font color="#ff0000"><br></font></div><div><div><br></div><div>So it seems it finds the generated and shipped dylib, but it is corrupted somehow.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 30 de abr. de 2022 às 16:57, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">ok, instead of building in my new system, I tried compiling on and old macbook air (it's not the machine I was using a year ago to compile this by the way). This system seems to have built something that works, see <a href="https://github.com/porres/pd-fluidsynth/issues/9#issuecomment-1114044528" target="_blank">https://github.com/porres/pd-fluidsynth/issues/9#issuecomment-1114044528</a> (where I'm discussing things in portuguese with charles).<div><br></div><div>I have to see now what is the difference between both outputs.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 30 de abr. de 2022 às 16:46, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi, after more than a year, I'm finally going to release my fluidsynth~ object as part of ELSE. There were lots of discussion on this list about this. One big issue was how to ship the external along with the library dependencies. There are scripts taken from <a href="https://git.iem.at/pd/iem-ci" target="_blank">https://git.iem.at/pd/iem-ci</a> to copy the libs to the same folder as the external. It seems we got to a point of being able to build it for mac and windows. This last thread (from where I'm now opening a new one) was about building it for Linux. </div><div><br></div><div>After so long I just tried to build it on my new system and my new challenge would be to see if it'd work for apple silicon macs. First I just tried building for mac intel using my new setup, a monterey machine with the latest XCode. I started by installing fluidsynth, now at a much more recent version 2.2.7, I then built the external and it worked fine in the system I built this on. I tried the <a href="http://localdeps.macos.sh" target="_blank">localdeps.macos.sh</a> script and it did copy all the libs to the same folder as the external, so I zipped it and uploaded to <a href="https://github.com/porres/pd-fluidsynth/releases/tag/0.0.0-test" target="_blank">https://github.com/porres/pd-fluidsynth/releases/tag/0.0.0-test</a> so I could test on another machine without fluidsynth and all... guess what? it didn't work!</div><div><br></div><div>By the way, someone built it for windows and I was able to test that it works on a virtual windows machine, so I don't know what could be wrong with my setup... See <a href="https://github.com/charlesneimog/pd-fluidsynth/releases/tag/v0.0.1" target="_blank">https://github.com/charlesneimog/pd-fluidsynth/releases/tag/v0.0.1</a> note that there's also a mac version there, but it doesn't work either and seems to be worse than my attempt as there a no libs copied. You cal also test the linux version in there.</div><div><br></div><div>Hope someone can give me a hint why my new attempt didn't work for mac, I don't know what could be different other than having a new system a new version of the OS, of XCode and fluidsynth.</div><div><br></div><div>cheers</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 14 de jan. de 2021 às 18:16, Roman Haefeli <<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2021-01-14 at 16:52 +0100, IOhannes m zmölnig wrote:<br>
> On 1/14/21 10:42 AM, Roman Haefeli wrote:<br>
> > See PR:<br>
> > <a href="https://github.com/porres/pd-fluidsynth/pull/5" rel="noreferrer" target="_blank">https://github.com/porres/pd-fluidsynth/pull/5</a><br>
> > <br>
> <br>
> given that i consider myself upstream of the original<br>
> "localdeps.*.sh" <br>
> scripts and those scripts are located under <br>
> <a href="https://git.iem.at/pd/iem-ci" rel="noreferrer" target="_blank">https://git.iem.at/pd/iem-ci</a> <br>
> where they are used by a number of (our, that is: the iem's)<br>
> libraries, <br>
> i would highly welcome it if you could submit a PR to that central <br>
> location rather than a single one of the consumers of those scripts.<br>
<br>
Sure. I wasn't even aware of the origin of those files. <br>
<br>
Re PR/MR:<br>
While logged in as reduzent, I see only comport listed as repos I can<br>
create MRs for. I don't seem to have privileges for forking on<br>
<a href="http://git.iem.at" rel="noreferrer" target="_blank">git.iem.at</a> nor for creating MRs for the iem-ci repo. Tell me if I'm<br>
overseeing something. <br>
<br>
I created a fork on:<br>
<a href="https://gitlab.zhdk.ch/rhaefeli/iem-ci" rel="noreferrer" target="_blank">https://gitlab.zhdk.ch/rhaefeli/iem-ci</a><br>
<br>
You'll find the script addition in the linuxdep branch.<br>
<br>
Roman<br>
_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@lists.iem.at" target="_blank">Pd-dev@lists.iem.at</a><br>
<a href="https://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-dev</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>