<div dir="ltr">my searching app failed me, I found libfluidsynth.2.dylib in Contents/lib in Purr Data's app!<div><br></div><div>So yeah, the question still remains, how can we make Pd find this. It failed to do so if it's just in the same folder. And also if we can build the external binary that already has libfluidsynth.2.dylib embedded in it.</div><div><br></div><div>cheers</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 11 de dez. de 2020 às 22:21, 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">so, yeah, I sent my compiled external to Esteban but it complains it doesn't find libfluidsynth.2.dylib, which I have in my system as I installed it via homebrew. I tried sending libfluidsynth.2.dylib in the same folder as the external to esteban, to see if it'd get loaded and work, but he also had the same issue. So as I asked, it seems one needs to have fluidsynth previously installed. But this is not ideal for an external download, where I hoped it'd work out of the box without the need of anything ELSE.<div><br></div><div>I assume there's a way to link or embed libfluidsynth.2.dylib into the external, but I don't know how. Pd wizards, help us :) </div><div><br></div><div>And by the way, I downloaded Purr Data and looked for libfluidsynth.2.dylib in its package and couldn't find it... I'm definitely missing something cause I know fluid~ works when I install Purr Data in a machine that hasn't previously installed fluidsynth via homebrew. So I'm assuming libfluidsynth.2.dylib is somewhere in Purr Data's app, but I don't know where.</div><div><br></div><div>Anyway, I also have attached my mac binary I built, with the help file adapted so it doesn't need any externals.<br><br>I also included TimGM6mb.sf2 in the folder, cause it's used in the help file. I wonder if there are any legal issues to include this font in the deken download, cause it's also inconvenient to ask people to download something extra in order to test the object.</div><div><br></div><div>Well, if anyone wants to check it out, <a href="https://drive.google.com/file/d/19DopwznJvoz-H9GHpzCLtwj-WvlwD6Ew" target="_blank">here it is</a></div><div><br></div><div>cheers</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 11 de dez. de 2020 às 22:03, Esteban Viveros <<a href="mailto:emviveros@gmail.com" target="_blank">emviveros@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">I tested and fuid still dependent of fluidsynth installation. There's a way to embed fluidsynth in the external? Or maybe tell the fluid binary to look for libfuidsynth in the fluid~ external folder? So we can distribute it together?<div><br></div><div>At this moment I have this error:</div><div>/Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat: dlopen(/Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat, 10): Library not loaded: /usr/local/opt/fluid-synth/lib/libfluidsynth.2.dylib<br>  Referenced from: /Users/esteban/Documents/Pd/externals/fluid~/fluid~.d_fat<br>  Reason: image not found<br> fluid~<br>... couldn't create<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 11 de dez. de 2020 às 21:12, 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 class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 11 de dez. de 2020 às 20:27, Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>> escreveu:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div id="gmail-m_-2722443163554855145gmail-m_-5356556494922888163gmail-m_6770307492099532842gmail-m_-7080132901405361925ydp5f1814bcyahoo_quoted_8341452731"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><div><div id="gmail-m_-2722443163554855145gmail-m_-5356556494922888163gmail-m_6770307492099532842gmail-m_-7080132901405361925ydp5f1814bcyiv9138765898"><div dir="ltr"><div dir="ltr">I'd strongly suggest using the source from Purr Data:</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://git.purrdata.net/jwilkes/purr-data/-/tree/master/externals/fluid~" rel="nofollow" target="_blank">https://git.purrdata.net/jwilkes/purr-data/-/tree/master/externals/fluid~</a></div><div dir="ltr"><br></div><div dir="ltr">It's a simple C external, unlike the footils version which depends on flext. It's also had some bugfixes and new features that Albert Graef recently added.</div></div></div></div></div></div></div></div></blockquote><div><br></div><div>That's nice, thanks. I was indeed hoping that we could have a simple C external that did not rely on flex! I thought Purr was using the original one.<br><br>I also see now this uses a modification of pdlbbuilder? Anyway, that also makes things much easier! </div><div><br></div><div>Now, I did try to use and build this, I got the complaint I needed fluidsynth.h, since I'm on a mac, I did "brew install fluidsynth", hit "make" again, and it built it!!!! So excited about this that I am replying to the email before testing it :) </div><div><br></div><div>Now, Esteban is also excited here and willing to compile this for Windows and Linux, what's  the step for those?<br><br>And I assume the external works fine for people who don't have fluidsynth installed like I did with "brew install fluidsynth" right?</div><div><br></div><div>Cheers<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><p></p><div><span style="color:rgb(0,0,0);background-color:transparent;font-family:"times new roman","new york",times,serif"><div><span style="font-family:arial,helvetica,sans-serif;background-color:transparent"> </span><span style="font-family:arial,helvetica,sans-serif;background-color:transparent;color:rgb(34,34,34)">Esteban Viveros</span></div><div><span style="font-family:arial,helvetica,sans-serif;background-color:transparent;color:rgb(34,34,34)"><br></span></div></span><div style="background-color:transparent"><font size="1" color="#0b5394"><font color="#0b5394"><a href="http://www.estebanviveros.com" target="_blank">www.estebanviveros.com</a></font></font></div></div><div><br></div><div><br></div><p></p></div></div></div></div>
</blockquote></div>
</blockquote></div>