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 git.puredata.info http://git.puredata.info/:
http://git.puredata.info/cgit/svn2git/libraries/ann.git/ http://git.puredata.info/cgit/svn2git/libraries/ann.git/
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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros <adrcki@gmail.com mailto:adrcki@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] Ann external source or 64-bit build? Message-ID: <92b19048-4b59-2270-9880-f3554d9185f3@gmail.com mailto:92b19048-4b59-2270-9880-f3554d9185f3@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed
I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/ http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too).
Thanks, Alexandros
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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.
On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox danomatika@gmail.com wrote:
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 git.puredata.info:
http://git.puredata.info/cgit/svn2git/libraries/ann.git/
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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros adrcki@gmail.com To: Pd-List pd-list@lists.iem.at Subject: [PD] Ann external source or 64-bit build? Message-ID: 92b19048-4b59-2270-9880-f3554d9185f3@gmail.com Content-Type: text/plain; charset=UTF-8; format=flowed
I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too).
Thanks, Alexandros
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I managed to build it on Linux but again can't load it, getting this error:
/home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory
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?
On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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.
On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox danomatika@gmail.com wrote:
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 git.puredata.info <http://git.puredata.info>: http://git.puredata.info/cgit/svn2git/libraries/ann.git/ 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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote: Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros <adrcki@gmail.com> To: Pd-List <pd-list@lists.iem.at> Subject: [PD] Ann external source or 64-bit build? Message-ID: <92b19048-4b59-2270-9880-f3554d9185f3@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too). Thanks, Alexandros
-------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com> robotcowboy.com <http://robotcowboy.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
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".
On Mon, Apr 11, 2022 at 10:17 AM Alexandros adrcki@gmail.com wrote:
I managed to build it on Linux but again can't load it, getting this error:
/home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory
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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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.
On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox danomatika@gmail.com wrote:
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 git.puredata.info:
http://git.puredata.info/cgit/svn2git/libraries/ann.git/
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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros adrcki@gmail.com To: Pd-List pd-list@lists.iem.at Subject: [PD] Ann external source or 64-bit build? Message-ID: 92b19048-4b59-2270-9880-f3554d9185f3@gmail.com Content-Type: text/plain; charset=UTF-8; format=flowed
I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too).
Thanks, Alexandros
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Still no dice. Everything seems to be in /usr/local/lib. This is the output of "ls /usr/local/lib/*fann*
/usr/local/lib/libdoublefann.a /usr/local/lib/libdoublefann.so.2.2.0 /usr/local/lib/libfann.so.2 /usr/local/lib/libfixedfann.so /usr/local/lib/libfloatfann.a /usr/local/lib/libfloatfann.so.2.2.0 /usr/local/lib/libdoublefann.so /usr/local/lib/libfann.a /usr/local/lib/libfann.so.2.2.0 /usr/local/lib/libfixedfann.so.2 /usr/local/lib/libfloatfann.so /usr/local/lib/libdoublefann.so.2 /usr/local/lib/libfann.so /usr/local/lib/libfixedfann.a /usr/local/lib/libfixedfann.so.2.2.0 /usr/local/lib/libfloatfann.so.2
I did "make fann_static" in fann's directory which gave this output "[100%] Built target fann_static" 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.
On 11/4/22 17:49, William Brent wrote:
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".
On Mon, Apr 11, 2022 at 10:17 AM Alexandros adrcki@gmail.com wrote:
I managed to build it on Linux but again can't load it, getting this error: /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory 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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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. On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox <danomatika@gmail.com> wrote: 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 git.puredata.info <http://git.puredata.info>: http://git.puredata.info/cgit/svn2git/libraries/ann.git/ 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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote: Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros <adrcki@gmail.com> To: Pd-List <pd-list@lists.iem.at> Subject: [PD] Ann external source or 64-bit build? Message-ID: <92b19048-4b59-2270-9880-f3554d9185f3@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too). Thanks, Alexandros
-------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com> robotcowboy.com <http://robotcowboy.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list -- William Brent “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com <http://www.conflations.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
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"?
On Mon, Apr 11, 2022, 12:06 PM Alexandros adrcki@gmail.com wrote:
Still no dice. Everything seems to be in /usr/local/lib. This is the output of "ls /usr/local/lib/*fann*
/usr/local/lib/libdoublefann.a /usr/local/lib/libdoublefann.so.2.2.0 /usr/local/lib/libfann.so.2 /usr/local/lib/libfixedfann.so /usr/local/lib/libfloatfann.a /usr/local/lib/libfloatfann.so.2.2.0 /usr/local/lib/libdoublefann.so /usr/local/lib/libfann.a /usr/local/lib/libfann.so.2.2.0 /usr/local/lib/libfixedfann.so.2 /usr/local/lib/libfloatfann.so /usr/local/lib/libdoublefann.so.2 /usr/local/lib/libfann.so /usr/local/lib/libfixedfann.a /usr/local/lib/libfixedfann.so.2.2.0 /usr/local/lib/libfloatfann.so.2
I did "make fann_static" in fann's directory which gave this output "[100%] Built target fann_static" 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. On 11/4/22 17:49, William Brent wrote:
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".
On Mon, Apr 11, 2022 at 10:17 AM Alexandros adrcki@gmail.com wrote:
I managed to build it on Linux but again can't load it, getting this error:
/home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory
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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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.
On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox danomatika@gmail.com wrote:
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 git.puredata.info:
http://git.puredata.info/cgit/svn2git/libraries/ann.git/
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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros adrcki@gmail.com To: Pd-List pd-list@lists.iem.at Subject: [PD] Ann external source or 64-bit build? Message-ID: 92b19048-4b59-2270-9880-f3554d9185f3@gmail.com Content-Type: text/plain; charset=UTF-8; format=flowed
I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too).
Thanks, Alexandros
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Yes, it's from the latest version of your repo. I did a "make clean" and a new "make" and still get the same. It's very strange. In the Makefile the /usr/local/lib path is specified, but Pd keeps on complaining.
Don't know if this is of any relevance, but "file /usr/local/lib/libfann.so.2" says that this is a symbolic link to /usr/local/lib/libfann.so.2.2.0, which in turn is an ELF 64-bit LSB shared object.
On 11/4/22 20:36, William Brent wrote:
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"?
On Mon, Apr 11, 2022, 12:06 PM Alexandros adrcki@gmail.com wrote:
Still no dice. Everything seems to be in /usr/local/lib. This is the output of "ls /usr/local/lib/*fann* /usr/local/lib/libdoublefann.a /usr/local/lib/libdoublefann.so.2.2.0 /usr/local/lib/libfann.so.2 /usr/local/lib/libfixedfann.so /usr/local/lib/libfloatfann.a /usr/local/lib/libfloatfann.so.2.2.0 /usr/local/lib/libdoublefann.so /usr/local/lib/libfann.a /usr/local/lib/libfann.so.2.2.0 /usr/local/lib/libfixedfann.so.2 /usr/local/lib/libfloatfann.so /usr/local/lib/libdoublefann.so.2 /usr/local/lib/libfann.so /usr/local/lib/libfixedfann.a /usr/local/lib/libfixedfann.so.2.2.0 /usr/local/lib/libfloatfann.so.2 I did "make fann_static" in fann's directory which gave this output "[100%] Built target fann_static" 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. On 11/4/22 17:49, William Brent wrote:
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". On Mon, Apr 11, 2022 at 10:17 AM Alexandros <adrcki@gmail.com> wrote: I managed to build it on Linux but again can't load it, getting this error: /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory 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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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. On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox <danomatika@gmail.com> wrote: 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 git.puredata.info <http://git.puredata.info>: http://git.puredata.info/cgit/svn2git/libraries/ann.git/ 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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote: Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros <adrcki@gmail.com> To: Pd-List <pd-list@lists.iem.at> Subject: [PD] Ann external source or 64-bit build? Message-ID: <92b19048-4b59-2270-9880-f3554d9185f3@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too). Thanks, Alexandros
-------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com> robotcowboy.com <http://robotcowboy.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list -- William Brent “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com <http://www.conflations.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list -- William Brent “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com <http://www.conflations.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
Try running "sudo ldconfig" and see if that resolves it. If not, do a sanity check by copying libfann.so.2.2.0 to the fann directory and make a libfann.so.2 symlink to it there. It's a temporary hack, but if you do that it really should load properly in Pd. If even that doesn't work, I'm stumped!
On Mon, Apr 11, 2022 at 2:19 PM Alexandros adrcki@gmail.com wrote:
Yes, it's from the latest version of your repo. I did a "make clean" and a new "make" and still get the same. It's very strange. In the Makefile the /usr/local/lib path is specified, but Pd keeps on complaining.
Don't know if this is of any relevance, but "file /usr/local/lib/libfann.so.2" says that this is a symbolic link to /usr/local/lib/libfann.so.2.2.0, which in turn is an ELF 64-bit LSB shared object. On 11/4/22 20:36, William Brent wrote:
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"?
On Mon, Apr 11, 2022, 12:06 PM Alexandros adrcki@gmail.com wrote:
Still no dice. Everything seems to be in /usr/local/lib. This is the output of "ls /usr/local/lib/*fann*
/usr/local/lib/libdoublefann.a /usr/local/lib/libdoublefann.so.2.2.0 /usr/local/lib/libfann.so.2 /usr/local/lib/libfixedfann.so /usr/local/lib/libfloatfann.a /usr/local/lib/libfloatfann.so.2.2.0 /usr/local/lib/libdoublefann.so /usr/local/lib/libfann.a /usr/local/lib/libfann.so.2.2.0 /usr/local/lib/libfixedfann.so.2 /usr/local/lib/libfloatfann.so /usr/local/lib/libdoublefann.so.2 /usr/local/lib/libfann.so /usr/local/lib/libfixedfann.a /usr/local/lib/libfixedfann.so.2.2.0 /usr/local/lib/libfloatfann.so.2
I did "make fann_static" in fann's directory which gave this output "[100%] Built target fann_static" 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. On 11/4/22 17:49, William Brent wrote:
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".
On Mon, Apr 11, 2022 at 10:17 AM Alexandros adrcki@gmail.com wrote:
I managed to build it on Linux but again can't load it, getting this error:
/home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory
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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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.
On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox danomatika@gmail.com wrote:
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 git.puredata.info:
http://git.puredata.info/cgit/svn2git/libraries/ann.git/
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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros adrcki@gmail.com To: Pd-List pd-list@lists.iem.at Subject: [PD] Ann external source or 64-bit build? Message-ID: 92b19048-4b59-2270-9880-f3554d9185f3@gmail.com Content-Type: text/plain; charset=UTF-8; format=flowed
I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage
and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too).
Thanks, Alexandros
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
"sudo ldconfig" did the trick! Now the object loads and works fine, thanks!
On 12/4/22 02:24, William Brent wrote:
Try running "sudo ldconfig" and see if that resolves it. If not, do a sanity check by copying libfann.so.2.2.0 to the fann directory and make a libfann.so.2 symlink to it there. It's a temporary hack, but if you do that it really should load properly in Pd. If even that doesn't work, I'm stumped!
On Mon, Apr 11, 2022 at 2:19 PM Alexandros adrcki@gmail.com wrote:
Yes, it's from the latest version of your repo. I did a "make clean" and a new "make" and still get the same. It's very strange. In the Makefile the /usr/local/lib path is specified, but Pd keeps on complaining. Don't know if this is of any relevance, but "file /usr/local/lib/libfann.so.2" says that this is a symbolic link to /usr/local/lib/libfann.so.2.2.0, which in turn is an ELF 64-bit LSB shared object. On 11/4/22 20:36, William Brent wrote:
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"? On Mon, Apr 11, 2022, 12:06 PM Alexandros <adrcki@gmail.com> wrote: Still no dice. Everything seems to be in /usr/local/lib. This is the output of "ls /usr/local/lib/*fann* /usr/local/lib/libdoublefann.a /usr/local/lib/libdoublefann.so.2.2.0 /usr/local/lib/libfann.so.2 /usr/local/lib/libfixedfann.so /usr/local/lib/libfloatfann.a /usr/local/lib/libfloatfann.so.2.2.0 /usr/local/lib/libdoublefann.so /usr/local/lib/libfann.a /usr/local/lib/libfann.so.2.2.0 /usr/local/lib/libfixedfann.so.2 /usr/local/lib/libfloatfann.so /usr/local/lib/libdoublefann.so.2 /usr/local/lib/libfann.so /usr/local/lib/libfixedfann.a /usr/local/lib/libfixedfann.so.2.2.0 /usr/local/lib/libfloatfann.so.2 I did "make fann_static" in fann's directory which gave this output "[100%] Built target fann_static" 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. On 11/4/22 17:49, William Brent wrote:
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". On Mon, Apr 11, 2022 at 10:17 AM Alexandros <adrcki@gmail.com> wrote: I managed to build it on Linux but again can't load it, getting this error: /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux: libfann.so.2: cannot open shared object file: No such file or directory 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? On 11/4/22 16:39, William Brent wrote:
I got into this a few years ago and updated/extended the [ann_mlp] object. Here's the repo: https://github.com/wbrent/pd_fann. 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. On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox <danomatika@gmail.com> wrote: 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 git.puredata.info <http://git.puredata.info>: http://git.puredata.info/cgit/svn2git/libraries/ann.git/ 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? :)
On Apr 11, 2022, at 9:48 AM, pd-list-request@lists.iem.at wrote: Message: 2 Date: Mon, 11 Apr 2022 09:38:51 +0300 From: Alexandros <adrcki@gmail.com> To: Pd-List <pd-list@lists.iem.at> Subject: [PD] Ann external source or 64-bit build? Message-ID: <92b19048-4b59-2270-9880-f3554d9185f3@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed I run into [ann] in Pd's website (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage and downloaded the Linux version, but it's a 32-bit build and Pd can't load it. I can't find it in deken. Anyone (IOhannes maybe, since you have provided the Linux build) has the source code so I can try to compile (any compilation instructions would be great too). Thanks, Alexandros
-------- Dan Wilcox @danomatika <http://twitter.com/danomatika> danomatika.com <http://danomatika.com> robotcowboy.com <http://robotcowboy.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list -- William Brent “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com <http://www.conflations.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list -- William Brent “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com <http://www.conflations.com> _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list