I have the same problem, this api isn't in the library fann.h

But it should
(http://leenissen.dk/fann/html/files/fann-h.html#fann_create_standard)

cd /usr/include
grep fann_create *
fann.h:FANN_EXTERNAL struct fann * FANN_API fann_create(float connection_rate, 
float learning_rate,
fann.h:/* Just like fann_create, but with an array of layer sizes
fann.h:FANN_EXTERNAL struct fann * FANN_API fann_create_array(float 
connection_rate, float learning_rate,
fann.h:FANN_EXTERNAL struct fann * FANN_API fann_create_shortcut(float 
learning_rate,
fann.h:FANN_EXTERNAL struct fann * FANN_API fann_create_shortcut_array(float 
learning_rate, unsigned int num_layers, unsigned int * layers);
fann.h:FANN_EXTERNAL struct fann * FANN_API fann_create_from_file(const char 
*configuration_file);
fann_internal.h:struct fann * fann_create_from_fd(FILE *conf, const char 
*configuration_file);

It isn't in the file.
This problem is because repositories have an old version of libfann (version 1, 
2004), it is very old, ubuntu should update this package

You should use the second version

http://ufpr.dl.sourceforge.net/sourceforge/fann/libfann2-dev_2.0.0-1_i386.deb
and his dependency
http://ufpr.dl.sourceforge.net/sourceforge/fann/libfann2_2.0.0-1_i386.deb

Greetings

-- 
undefined reference to `fann_create_standard'
https://bugs.launchpad.net/bugs/33136
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to