<div dir="auto">Just to confirm, did you pull my latest change to the repo with a new Makefile, do a "make clean", and then a new "make"?<div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 11, 2022, 12:06 PM Alexandros <<a href="mailto:adrcki@gmail.com">adrcki@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Still no dice. Everything seems to be in /usr/local/lib. This is
      the output of "ls /usr/local/lib/*fann*</p>
    <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">/usr/local/lib/libdoublefann.a<br>
          /usr/local/lib/libdoublefann.so.2.2.0<br>
        </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfann.so.2</span><span style="color:#000000;background-color:#ffffff"><br>
        </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfixedfann.so</span><span style="color:#000000;background-color:#ffffff"><br>
          /usr/local/lib/libfloatfann.a<br>
          /usr/local/lib/libfloatfann.so.2.2.0
        </span><br>
        <span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libdoublefann.so</span><span style="color:#000000;background-color:#ffffff"><br>
          /usr/local/lib/libfann.a<br>
          /usr/local/lib/libfann.so.2.2.0<br>
        </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfixedfann.so.2</span><span style="color:#000000;background-color:#ffffff"><br>
        </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfloatfann.so</span><span style="color:#000000;background-color:#ffffff">
        </span><br>
        <span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libdoublefann.so.2</span><span style="color:#000000;background-color:#ffffff"><br>
        </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfann.so</span><span style="color:#000000;background-color:#ffffff"><br>
          /usr/local/lib/libfixedfann.a<br>
          /usr/local/lib/libfixedfann.so.2.2.0  </span><span style="font-weight:bold;color:#54ffff;background-color:#ffffff">/usr/local/lib/libfloatfann.so.2</span><br>
        <span style="color:#000000;background-color:#ffffff">
        </span><br>
        I did "make fann_static" in fann's directory which gave this
        output "</span><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">[100%] Built
            target fann_static</span></span>" and then "sudo make
        install" and then "make" in pd_fann directory, but I keep on
        getting the same error message when trying to load the object in
        Pd. My system is UbuntuStudio 21.10 with Pd-0.52.2 compiled from
        source.<br>
      </span></p>
    <div>On 11/4/22 17:49, William Brent wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">Ok - I just updated the repo so the project is
          using pd-lib-builder. I'm on my Ubuntu 20.04.4 LTS machine now
          and the [fann] external builds and loads fine for me. When
          building the actual FANN library, make sure to build it as
          static with "make fann_static". Then do "make install" so the
          lib and headers get to /usr/local. After that, you should be
          able to build the Pd [fann] external with just "make".</div>
        <div style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Apr 11, 2022 at 10:17
          AM Alexandros <<a href="mailto:adrcki@gmail.com" target="_blank" rel="noreferrer">adrcki@gmail.com</a>>
          wrote:<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>
            <p>I managed to build it on Linux but again can't load it,
              getting this error:</p>
            <p>/home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux:
              libfann.so.2: cannot open shared object file: No such file
              or directory</p>
            <p>even though there is a libfann.so.2 file in
              /usr/local/lib, as I have built FANN 2.2.0. Is there
              something I need to change in the source?<br>
            </p>
            <div>On 11/4/22 16:39, William Brent wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">I got into this a few years ago and
                updated/extended the [ann_mlp] object. Here's the repo: <a href="https://github.com/wbrent/pd_fann" target="_blank" rel="noreferrer">https://github.com/wbrent/pd_fann</a>.
                I just tried building it against the latest version of
                FANN (2.2.0) and it still appears to work fine. I need
                to update the project to use pd-lib-builder, but the
                included Makefile works for x86_64 builds on Mac.</div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Mon, Apr 11, 2022
                  at 8:34 AM Dan Wilcox <<a href="mailto:danomatika@gmail.com" target="_blank" rel="noreferrer">danomatika@gmail.com</a>>
                  wrote:<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>I could be wrong, but I don't believe anyone has
                    taken over maintenance of [ann]. The original
                    sources are still in the SVN export to <a href="http://git.puredata.info" target="_blank" rel="noreferrer">git.puredata.info</a>:
                    <div><br>
                    </div>
                    <div><a href="http://git.puredata.info/cgit/svn2git/libraries/ann.git/" target="_blank" rel="noreferrer">http://git.puredata.info/cgit/svn2git/libraries/ann.git/</a></div>
                    <div><br>
                    </div>
                    <div>If there is interest, we could push this to the
                      pd-externals group on GitHub, add pd-lib-builder
                      support, then someone can take over maintenance.
                      You perhaps? :)<br>
                      <div><br>
                        <blockquote type="cite">
                          <div>On Apr 11, 2022, at 9:48 AM, <a href="mailto:pd-list-request@lists.iem.at" target="_blank" rel="noreferrer">pd-list-request@lists.iem.at</a>
                            wrote:</div>
                          <br>
                          <div><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Message:
                              2</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Date:
                              Mon, 11 Apr 2022 09:38:51 +0300</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">From:
                              Alexandros <</span><a href="mailto:adrcki@gmail.com" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" rel="noreferrer">adrcki@gmail.com</a><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">To:
                              Pd-List <</span><a href="mailto:pd-list@lists.iem.at" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" rel="noreferrer">pd-list@lists.iem.at</a><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Subject:
                              [PD] Ann external source or 64-bit build?</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Message-ID:
                              <</span><a href="mailto:92b19048-4b59-2270-9880-f3554d9185f3@gmail.com" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" rel="noreferrer">92b19048-4b59-2270-9880-f3554d9185f3@gmail.com</a><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Content-Type:
                              text/plain; charset=UTF-8; format=flowed</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">I
                              run into [ann] in Pd's website<span> </span></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">(</span><a href="http://puredata.info/Members/dmorelli/ann/ann/" style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" rel="noreferrer">http://puredata.info/Members/dmorelli/ann/ann/</a><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">)
                              from the Fann homepage<span> </span></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">and
                              downloaded the Linux version, but it's a
                              32-bit build and Pd can't<span> </span></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">load
                              it. I can't find it in deken. Anyone
                              (IOhannes maybe, since you<span> </span></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">have
                              provided the Linux build) has the source
                              code so I can try to<span> </span></span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">compile
                              (any compilation instructions would be
                              great too).</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Thanks,</span><br style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
                            <span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Alexandros</span></div>
                        </blockquote>
                      </div>
                      <br>
                      <div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">--------</div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dan
                          Wilcox</div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://twitter.com/danomatika" target="_blank" rel="noreferrer">@danomatika</a></div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://danomatika.com" target="_blank" rel="noreferrer">danomatika.com</a></div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://robotcowboy.com" target="_blank" rel="noreferrer">robotcowboy.com</a></div>
                        <div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>
                        </div>
                        <br>
                      </div>
                      <br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  <a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a>
                  mailing list<br>
                  UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr">
                <div dir="ltr">William Brent<br>
                  <br>
                  “Great minds flock together”<br>
                  Conflations: conversational idiom for the 21st century<br>
                  <br>
                  <a href="http://www.conflations.com" target="_blank" rel="noreferrer">www.conflations.com</a></div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          <a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a>
          mailing list<br>
          UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr">
        <div dir="ltr">William Brent<br>
          <br>
          “Great minds flock together”<br>
          Conflations: conversational idiom for the 21st century<br>
          <br>
          <a href="http://www.conflations.com" target="_blank" rel="noreferrer">www.conflations.com</a></div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>