oh... you're right, looks like they changed the API in version 2.0 at the moment ann is only compatible with fann versions < 2.0 ...strange that ann compiled though, as fann_create_array() is no longer defined in fann.h
ciao, davide.
----- Original Message ----- From: "John Harrison" john.harrison@wichita.edu To: "pd-list" pd-list@iem.at Sent: Monday, July 17, 2006 5:36 PM Subject: Re: [PD] installing ann on ubuntu Breezy
thanks. This works. Actually I suspect that the problem might be that FANN CVS is no longer compatible with the ann bindings. I say this because I did not find the function fann_create_array in the source code of the FANN CVS. In any case, I'm excited to get started with this, so thank you!
-John
Davide Morelli wrote:
/usr/lib/pd/extra/ann_mlp.pd_linux: /usr/lib/pd/extra/ann_mlp.pd_linux: undefined symbol: fann_create_array ann_mlp ... couldn't create
I think you didn't install FANN properely, looks like the compiler can find the fann header file but pd can't find the fann library at run time.
I installed fann from the universe repositary: sudo apt-get install libfann1-dev
really to compile ann on ubuntu you shouldn't need to do anything more that installing the fann package and do a make -f makefile.linux ann in the externals/ann/src folder
but maybe using non default path for pd and libraries makes things a bit more complicated (i noticed you installed in /usr instead of /urs/local)
ciao!
what am I doing wrong?
My notes about my installation are here: http://wikihost.org/wikis/techartsound/programm/gebo.prg?name=pd_ann
-john
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list