I run g ++ under ubuntu11.10
zhas@zhas-Aspire-5740:~/ma-source/gts/fann/src$ g++ gis_train.cpp -l "doublefann" -I "include/" /usr/bin/ld: cannot find -ldoublefann collect2: выполнение ld завершилось с кодом возврата 1
proof that the file is in place (doublefann.a):
zhas@zhas-Aspire-5740:~/ma-source/gts/fann/src$ dir CMakeLists.txt doublefann.o fann_error.c fann_train_data.c gis_train.cpp doublefann.a fann.c fann_io.c fixedfann.c include doublefann.c fann_cascade.c fann_train.c floatfann.c
then I tried to write the full path to
zhas@zhas-Aspire-5740:~/ma-source/gts/fann/src$ g++ gis_train.cpp -lhome/zhas/ma-source/gts/fann/src/doublefann -I "include/" /usr/bin/ld: cannot find -lhome/zhas/ma-source/gts/fann/src/doublefann collect2: выполнение ld завершилось с кодом возврата 1
then I shoved it into / usr / lib /, and even not see it (((
help plz
ps tried the same g ++ on Windows, everything works, but I need it under ubuntu