Discussion:
Running FAN in Unbuntu
Neil Ghosh
2010-11-08 14:04:54 UTC
Permalink
Hi I trying to run FANN in ubuntu.

I installed the package

*
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
*

However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training

It gives me following error

***@neil-laptop:~/ann$ cc fann.c
fann.c:1:18: error: fann.h: No such file or directory

Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
Steven Levis
2010-11-08 23:53:55 UTC
Permalink
Hi Neil,
You can list the files in a deb package with "dpkg -c". In this
case, we find that there is no fann.h included.

$ dpkg -c libfann2_2.0.0-1_i386.deb
drwxr-xr-x root/root 0 2006-01-06 15:06 ./
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/
-rw-r--r-- root/root 56924 2006-01-06 15:06 ./usr/lib/libdoublefann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06 ./usr/lib/libfann.so.2.0.0
-rw-r--r-- root/root 40052 2006-01-06 15:06 ./usr/lib/libfixedfann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06 ./usr/lib/libfloatfann.so.2.0.0
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/libfann2/
-rw-r--r-- root/root 1528 2006-01-06 14:13
./usr/share/doc/libfann2/changelog.gz
-rw-r--r-- root/root 474 2004-05-03 14:32
./usr/share/doc/libfann2/copyright
-rw-r--r-- root/root 534 2005-12-13 14:48
./usr/share/doc/libfann2/changelog.Debian.gz
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libdoublefann.so.2 -> libdoublefann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/libfann.so.2
-> libfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfixedfann.so.2 -> libfixedfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfloatfann.so.2 -> libfloatfann.so.2.0.0

This is apparently the package for docs and shared libraries only.
You want the dev library
http://superb-sea2.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2-dev_2.0.0-1_i386.deb

-Steve
Post by Neil Ghosh
Hi I trying to run FANN in ubuntu.
I installed the package
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
It gives me following error
fann.c:1:18: error: fann.h: No such file or directory
Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
Neil Ghosh
2010-11-09 18:43:12 UTC
Permalink
Thanks Steve

I installed the dev package. The header file error went away but getting the
following error now

***@neil-laptop:~/PR/ann$ gcc fann.c
/tmp/cceTdoM3.o: In function `main':
fann.c:(.text+0x62): undefined reference to `fann_create_standard'
fann.c:(.text+0x7a): undefined reference to
`fann_set_activation_function_hidden'
fann.c:(.text+0x8e): undefined reference to
`fann_set_activation_function_output'
fann.c:(.text+0xba): undefined reference to `fann_train_on_file'
fann.c:(.text+0xce): undefined reference to `fann_save'
fann.c:(.text+0xda): undefined reference to `fann_destroy'
collect2: ld returned 1 exit status


Kindly suggest

Thanks
Neil
Post by Steven Levis
Hi Neil,
You can list the files in a deb package with "dpkg -c". In this
case, we find that there is no fann.h included.
$ dpkg -c libfann2_2.0.0-1_i386.deb
drwxr-xr-x root/root 0 2006-01-06 15:06 ./
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/
-rw-r--r-- root/root 56924 2006-01-06 15:06
./usr/lib/libdoublefann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06 ./usr/lib/libfann.so.2.0.0
-rw-r--r-- root/root 40052 2006-01-06 15:06
./usr/lib/libfixedfann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfloatfann.so.2.0.0
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/libfann2/
-rw-r--r-- root/root 1528 2006-01-06 14:13
./usr/share/doc/libfann2/changelog.gz
-rw-r--r-- root/root 474 2004-05-03 14:32
./usr/share/doc/libfann2/copyright
-rw-r--r-- root/root 534 2005-12-13 14:48
./usr/share/doc/libfann2/changelog.Debian.gz
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libdoublefann.so.2 -> libdoublefann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/libfann.so.2
-> libfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfixedfann.so.2 -> libfixedfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfloatfann.so.2 -> libfloatfann.so.2.0.0
This is apparently the package for docs and shared libraries only.
You want the dev library
http://superb-sea2.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2-dev_2.0.0-1_i386.deb
-Steve
Post by Neil Ghosh
Hi I trying to run FANN in ubuntu.
I installed the package
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
Post by Neil Ghosh
However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
It gives me following error
fann.c:1:18: error: fann.h: No such file or directory
Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
------------------------------------------------------------------------------
Post by Neil Ghosh
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
--
Thanks and Regards
Neil
http://neilghosh.com
Neil Ghosh
2010-11-09 19:50:37 UTC
Permalink
Now I get this new error

***@neil-laptop:~/IIIT/PR/ann$ cc fann.c -l fann
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `expf'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `log'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `exp'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `pow'
The APIs are in my library still I get the error ??
I am running the code
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
fann_data.h: <fann_create_standard>, <fann_destroy>
fann.h: A feedforward ann can be created by a simple
<fann_create_standard> function, while
fann.h:/* Function: fann_create_standard
fann.h: > struct fann *ann = fann_create_standard(4, 2, 8, 9, 1);
fann.h: <fann_create_standard_array>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API fann_create_standard(unsigned
int num_layers, ...);
fann.h:/* Function: fann_create_standard_array
fann.h: Just like <fann_create_standard>, but with an array of layer
sizes
fann.h: > struct fann *ann = fann_create_standard_array(4, layers);
fann.h: <fann_create_standard>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API
fann_create_standard_array(unsigned int num_layers,
fann.h: A connection rate of 1 will yield the same result as
<fann_create_standard>
fann.h: <fann_create_sparse_array>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_sparse>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard> for a description of the parameters.
fann.h: <fann_create_shortcut_array>, <fann_create_standard>,
<fann_create_sparse>,
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_shortcut>, <fann_create_standard>,
<fann_create_spa
Post by Neil Ghosh
Thanks Steve
I installed the dev package. The header file error went away but getting
the following error now
fann.c:(.text+0x62): undefined reference to `fann_create_standard'
fann.c:(.text+0x7a): undefined reference to
`fann_set_activation_function_hidden'
fann.c:(.text+0x8e): undefined reference to
`fann_set_activation_function_output'
fann.c:(.text+0xba): undefined reference to `fann_train_on_file'
fann.c:(.text+0xce): undefined reference to `fann_save'
fann.c:(.text+0xda): undefined reference to `fann_destroy'
collect2: ld returned 1 exit status
Kindly suggest
Thanks
Neil
Post by Steven Levis
Hi Neil,
You can list the files in a deb package with "dpkg -c". In this
case, we find that there is no fann.h included.
$ dpkg -c libfann2_2.0.0-1_i386.deb
drwxr-xr-x root/root 0 2006-01-06 15:06 ./
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/
-rw-r--r-- root/root 56924 2006-01-06 15:06
./usr/lib/libdoublefann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfann.so.2.0.0
-rw-r--r-- root/root 40052 2006-01-06 15:06
./usr/lib/libfixedfann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfloatfann.so.2.0.0
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/libfann2/
-rw-r--r-- root/root 1528 2006-01-06 14:13
./usr/share/doc/libfann2/changelog.gz
-rw-r--r-- root/root 474 2004-05-03 14:32
./usr/share/doc/libfann2/copyright
-rw-r--r-- root/root 534 2005-12-13 14:48
./usr/share/doc/libfann2/changelog.Debian.gz
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libdoublefann.so.2 -> libdoublefann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/libfann.so.2
-> libfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfixedfann.so.2 -> libfixedfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfloatfann.so.2 -> libfloatfann.so.2.0.0
This is apparently the package for docs and shared libraries only.
You want the dev library
http://superb-sea2.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2-dev_2.0.0-1_i386.deb
-Steve
Post by Neil Ghosh
Hi I trying to run FANN in ubuntu.
I installed the package
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
Post by Neil Ghosh
However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
It gives me following error
fann.c:1:18: error: fann.h: No such file or directory
Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
------------------------------------------------------------------------------
Post by Neil Ghosh
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
Neil Ghosh
2010-11-09 19:57:03 UTC
Permalink
Okei Got it running

$ cc fann.c -l fann -l m

we have to link both the fann and math library while compilig

Thanks Anyway :)
Post by Neil Ghosh
Now I get this new error
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `expf'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `log'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `exp'
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/libfann.so: undefined
reference to `pow'
The APIs are in my library still I get the error ??
I am running the code
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
fann_data.h: <fann_create_standard>, <fann_destroy>
fann.h: A feedforward ann can be created by a simple
<fann_create_standard> function, while
fann.h:/* Function: fann_create_standard
fann.h: > struct fann *ann = fann_create_standard(4, 2, 8, 9, 1);
fann.h: <fann_create_standard_array>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API fann_create_standard(unsigned
int num_layers, ...);
fann.h:/* Function: fann_create_standard_array
fann.h: Just like <fann_create_standard>, but with an array of layer sizes
fann.h: > struct fann *ann = fann_create_standard_array(4, layers);
fann.h: <fann_create_standard>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API
fann_create_standard_array(unsigned int num_layers,
fann.h: A connection rate of 1 will yield the same result as
<fann_create_standard>
fann.h: <fann_create_sparse_array>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_sparse>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard> for a description of the parameters.
fann.h: <fann_create_shortcut_array>, <fann_create_standard>,
<fann_create_sparse>,
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_shortcut>, <fann_create_standard>,
<fann_create_spa
Post by Neil Ghosh
Thanks Steve
I installed the dev package. The header file error went away but getting
the following error now
fann.c:(.text+0x62): undefined reference to `fann_create_standard'
fann.c:(.text+0x7a): undefined reference to
`fann_set_activation_function_hidden'
fann.c:(.text+0x8e): undefined reference to
`fann_set_activation_function_output'
fann.c:(.text+0xba): undefined reference to `fann_train_on_file'
fann.c:(.text+0xce): undefined reference to `fann_save'
fann.c:(.text+0xda): undefined reference to `fann_destroy'
collect2: ld returned 1 exit status
Kindly suggest
Thanks
Neil
Post by Steven Levis
Hi Neil,
You can list the files in a deb package with "dpkg -c". In this
case, we find that there is no fann.h included.
$ dpkg -c libfann2_2.0.0-1_i386.deb
drwxr-xr-x root/root 0 2006-01-06 15:06 ./
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/
-rw-r--r-- root/root 56924 2006-01-06 15:06
./usr/lib/libdoublefann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfann.so.2.0.0
-rw-r--r-- root/root 40052 2006-01-06 15:06
./usr/lib/libfixedfann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfloatfann.so.2.0.0
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-01-06 15:06
./usr/share/doc/libfann2/
-rw-r--r-- root/root 1528 2006-01-06 14:13
./usr/share/doc/libfann2/changelog.gz
-rw-r--r-- root/root 474 2004-05-03 14:32
./usr/share/doc/libfann2/copyright
-rw-r--r-- root/root 534 2005-12-13 14:48
./usr/share/doc/libfann2/changelog.Debian.gz
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libdoublefann.so.2 -> libdoublefann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/libfann.so.2
-> libfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfixedfann.so.2 -> libfixedfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfloatfann.so.2 -> libfloatfann.so.2.0.0
This is apparently the package for docs and shared libraries only.
You want the dev library
http://superb-sea2.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2-dev_2.0.0-1_i386.deb
-Steve
Post by Neil Ghosh
Hi I trying to run FANN in ubuntu.
I installed the package
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
Post by Neil Ghosh
However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
It gives me following error
fann.c:1:18: error: fann.h: No such file or directory
Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
------------------------------------------------------------------------------
Post by Neil Ghosh
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
Neil Ghosh
2010-11-09 19:47:54 UTC
Permalink
The APIs are in my library still I get the error ??
I am running the code

http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training

***@neil-laptop:/usr/include$ grep fann_create_standard *
fann_data.h: <fann_create_standard>, <fann_destroy>
fann.h: A feedforward ann can be created by a simple
<fann_create_standard> function, while
fann.h:/* Function: fann_create_standard
fann.h: > struct fann *ann = fann_create_standard(4, 2, 8, 9, 1);
fann.h: <fann_create_standard_array>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API fann_create_standard(unsigned int
num_layers, ...);
fann.h:/* Function: fann_create_standard_array
fann.h: Just like <fann_create_standard>, but with an array of layer sizes
fann.h: > struct fann *ann = fann_create_standard_array(4, layers);
fann.h: <fann_create_standard>, <fann_create_sparse>,
<fann_create_shortcut>
fann.h:FANN_EXTERNAL struct fann *FANN_API
fann_create_standard_array(unsigned int num_layers,
fann.h: A connection rate of 1 will yield the same result as
<fann_create_standard>
fann.h: <fann_create_sparse_array>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_sparse>, <fann_create_standard>,
<fann_create_shortcut>
fann.h: See <fann_create_standard> for a description of the parameters.
fann.h: <fann_create_shortcut_array>, <fann_create_standard>,
<fann_create_sparse>,
fann.h: See <fann_create_standard_array> for a description of the
parameters.
fann.h: <fann_create_shortcut>, <fann_create_standard>,
<fann_create_spa
Post by Neil Ghosh
Thanks Steve
I installed the dev package. The header file error went away but getting
the following error now
fann.c:(.text+0x62): undefined reference to `fann_create_standard'
fann.c:(.text+0x7a): undefined reference to
`fann_set_activation_function_hidden'
fann.c:(.text+0x8e): undefined reference to
`fann_set_activation_function_output'
fann.c:(.text+0xba): undefined reference to `fann_train_on_file'
fann.c:(.text+0xce): undefined reference to `fann_save'
fann.c:(.text+0xda): undefined reference to `fann_destroy'
collect2: ld returned 1 exit status
Kindly suggest
Thanks
Neil
Post by Steven Levis
Hi Neil,
You can list the files in a deb package with "dpkg -c". In this
case, we find that there is no fann.h included.
$ dpkg -c libfann2_2.0.0-1_i386.deb
drwxr-xr-x root/root 0 2006-01-06 15:06 ./
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/
-rw-r--r-- root/root 56924 2006-01-06 15:06
./usr/lib/libdoublefann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06 ./usr/lib/libfann.so.2.0.0
-rw-r--r-- root/root 40052 2006-01-06 15:06
./usr/lib/libfixedfann.so.2.0.0
-rw-r--r-- root/root 57376 2006-01-06 15:06
./usr/lib/libfloatfann.so.2.0.0
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/share/doc/libfann2/
-rw-r--r-- root/root 1528 2006-01-06 14:13
./usr/share/doc/libfann2/changelog.gz
-rw-r--r-- root/root 474 2004-05-03 14:32
./usr/share/doc/libfann2/copyright
-rw-r--r-- root/root 534 2005-12-13 14:48
./usr/share/doc/libfann2/changelog.Debian.gz
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libdoublefann.so.2 -> libdoublefann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06 ./usr/lib/libfann.so.2
-> libfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfixedfann.so.2 -> libfixedfann.so.2.0.0
lrwxr-xr-x root/root 0 2006-01-06 15:06
./usr/lib/libfloatfann.so.2 -> libfloatfann.so.2.0.0
This is apparently the package for docs and shared libraries only.
You want the dev library
http://superb-sea2.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2-dev_2.0.0-1_i386.deb
-Steve
Post by Neil Ghosh
Hi I trying to run FANN in ubuntu.
I installed the package
http://space.dl.sourceforge.net/project/fann/fann/2.0.0/libfann2_2.0.0-1_i386.deb
Post by Neil Ghosh
However whenever I am trying to run it as a c program given in
http://leenissen.dk/fann/html/files2/gettingstarted-txt.html#Training
It gives me following error
fann.c:1:18: error: fann.h: No such file or directory
Please help how to include the library in c program.
--
Thanks and Regards
Neil
http://neilghosh.com
------------------------------------------------------------------------------
Post by Neil Ghosh
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fann-general mailing list
https://lists.sourceforge.net/lists/listinfo/fann-general
--
Thanks and Regards
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com
Loading...