I installed the dev package. The header file error went away but getting
Post by Steven LevisHi 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 GhoshHi 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 GhoshHowever 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 GhoshThe 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