Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
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!

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread Alexandros
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"

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
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 wrote: > Still no dice. Everything seems to be in /usr/local/lib. This is the > output of "ls /usr/local/lib/*fann* > >

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread Alexandros
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

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
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

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread Alexandros
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

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
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

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread Dan Wilcox
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/

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread Alexandros
Replying to my own email, I found the source here https://github.com/sebshader/ann and used pd-lib-builder Makefile and managed to compile, but the objects still won't load. In the library's README it says that this library works only with FANN 1.2, whereas the current version is 2.2.0 (since

[PD] Ann external source or 64-bit build?

2022-04-11 Thread Alexandros
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