Fann compile

fann_compile # # Debian 7.7 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) 14_11_24 # gcc (Debian 4.7.2-5) 4.7.2 FANN-2.2.0-Source # # Use this command to compile *.c scripts for fann. gcc -lfann -l m simple_test.c -o simple_test Troubleshooting error while loading shared libraries: libfann.so.2: cannot open shared object file: No such file or directory To run compiled file you have to type this in the terminal: export LD_LIBRARY_PATH=/usr/local/lib