我将把我的应用程序与FVS库集成在一起。来源位于fvs-0.1.1.tar.gz。我不知道在构建时出现了什么问题。
有人可以帮我建造它吗?
我知道Java和.Net中都有SourceAFIS,但我不想使用这种速度较慢的平台和语言。 我想选择一个轻量级的库,它可以在嵌入式设备上快速运行
配置:
habib@Habib-PC:~/Documents/Projects/fvs-0.1.1$ ./configure
configuring FVS 0.1.1
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for cos in -lm... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
configure: checking for ImageMagick support ......
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking for ExportImagePixels in -lMagick... no
checking for ImportImagePixels in -lMagick... no
checking if ImageMagick package is complete... no -- maybe should a newer version of ImageMagick be installed
制作:
habib@Habib-PC:~/Documents/Projects/fvs-0.1.1$ make
Making all in src
make[1]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT image.lo -MD -MP -MF ".deps/image.Tpo" \
-c -o image.lo `test -f 'image.c' || echo './'`image.c; \
then mv -f ".deps/image.Tpo" ".deps/image.Plo"; \
else rm -f ".deps/image.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT image.lo -MD -MP -MF .deps/image.Tpo -c image.c -fPIC -DPIC -o .libs/image.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT image.lo -MD -MP -MF .deps/image.Tpo -c image.c -o image.o >/dev/null 2>&1
mv -f .libs/image.lo image.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT import.lo -MD -MP -MF ".deps/import.Tpo" \
-c -o import.lo `test -f 'import.c' || echo './'`import.c; \
then mv -f ".deps/import.Tpo" ".deps/import.Plo"; \
else rm -f ".deps/import.Tpo"; exit 1; \
fi
rm -f .libs/import.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT import.lo -MD -MP -MF .deps/import.Tpo -c import.c -fPIC -DPIC -o .libs/import.lo
import.c: In function 'FvsImageImport':
import.c:54:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
(void)strcpy(magicinfo->filename, filename);
^
import.c:54:11: warning: incompatible implicit declaration of built-in function 'strcpy'
import.c:54:11: note: include '<string.h>' or provide a declaration of 'strcpy'
import.c:83:3: warning: implicit declaration of function 'ExportImagePixels' [-Wimplicit-function-declaration]
ExportImagePixels(magicimage, 0, i, width, 1, "I", CharPixel,
^
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT import.lo -MD -MP -MF .deps/import.Tpo -c import.c -o import.o >/dev/null 2>&1
mv -f .libs/import.lo import.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT export.lo -MD -MP -MF ".deps/export.Tpo" \
-c -o export.lo `test -f 'export.c' || echo './'`export.c; \
then mv -f ".deps/export.Tpo" ".deps/export.Plo"; \
else rm -f ".deps/export.Tpo"; exit 1; \
fi
rm -f .libs/export.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT export.lo -MD -MP -MF .deps/export.Tpo -c export.c -fPIC -DPIC -o .libs/export.lo
export.c: In function 'FvsImageExport':
export.c:68:3: warning: implicit declaration of function 'ImportImagePixels' [-Wimplicit-function-declaration]
ImportImagePixels(magicimage, 0, i, width, 1, "I", CharPixel,
^
export.c:72:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
(void)strcpy(magicimage->filename, filename);
^
export.c:72:8: warning: incompatible implicit declaration of built-in function 'strcpy'
export.c:72:8: note: include '<string.h>' or provide a declaration of 'strcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT export.lo -MD -MP -MF .deps/export.Tpo -c export.c -o export.o >/dev/null 2>&1
mv -f .libs/export.lo export.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT floatfield.lo -MD -MP -MF ".deps/floatfield.Tpo" \
-c -o floatfield.lo `test -f 'floatfield.c' || echo './'`floatfield.c; \
then mv -f ".deps/floatfield.Tpo" ".deps/floatfield.Plo"; \
else rm -f ".deps/floatfield.Tpo"; exit 1; \
fi
rm -f .libs/floatfield.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT floatfield.lo -MD -MP -MF .deps/floatfield.Tpo -c floatfield.c -fPIC -DPIC -o .libs/floatfield.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT floatfield.lo -MD -MP -MF .deps/floatfield.Tpo -c floatfield.c -o floatfield.o >/dev/null 2>&1
mv -f .libs/floatfield.lo floatfield.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT file.lo -MD -MP -MF ".deps/file.Tpo" \
-c -o file.lo `test -f 'file.c' || echo './'`file.c; \
then mv -f ".deps/file.Tpo" ".deps/file.Plo"; \
else rm -f ".deps/file.Tpo"; exit 1; \
fi
rm -f .libs/file.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -fPIC -DPIC -o .libs/file.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o >/dev/null 2>&1
mv -f .libs/file.lo file.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_base.lo -MD -MP -MF ".deps/img_base.Tpo" \
-c -o img_base.lo `test -f 'img_base.c' || echo './'`img_base.c; \
then mv -f ".deps/img_base.Tpo" ".deps/img_base.Plo"; \
else rm -f ".deps/img_base.Tpo"; exit 1; \
fi
rm -f .libs/img_base.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_base.lo -MD -MP -MF .deps/img_base.Tpo -c img_base.c -fPIC -DPIC -o .libs/img_base.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_base.lo -MD -MP -MF .deps/img_base.Tpo -c img_base.c -o img_base.o >/dev/null 2>&1
mv -f .libs/img_base.lo img_base.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_enhance1.lo -MD -MP -MF ".deps/img_enhance1.Tpo" \
-c -o img_enhance1.lo `test -f 'img_enhance1.c' || echo './'`img_enhance1.c; \
then mv -f ".deps/img_enhance1.Tpo" ".deps/img_enhance1.Plo"; \
else rm -f ".deps/img_enhance1.Tpo"; exit 1; \
fi
rm -f .libs/img_enhance1.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_enhance1.lo -MD -MP -MF .deps/img_enhance1.Tpo -c img_enhance1.c -fPIC -DPIC -o .libs/img_enhance1.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_enhance1.lo -MD -MP -MF .deps/img_enhance1.Tpo -c img_enhance1.c -o img_enhance1.o >/dev/null 2>&1
mv -f .libs/img_enhance1.lo img_enhance1.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT histogram.lo -MD -MP -MF ".deps/histogram.Tpo" \
-c -o histogram.lo `test -f 'histogram.c' || echo './'`histogram.c; \
then mv -f ".deps/histogram.Tpo" ".deps/histogram.Plo"; \
else rm -f ".deps/histogram.Tpo"; exit 1; \
fi
rm -f .libs/histogram.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT histogram.lo -MD -MP -MF .deps/histogram.Tpo -c histogram.c -fPIC -DPIC -o .libs/histogram.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT histogram.lo -MD -MP -MF .deps/histogram.Tpo -c histogram.c -o histogram.o >/dev/null 2>&1
mv -f .libs/histogram.lo histogram.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT imagemanip.lo -MD -MP -MF ".deps/imagemanip.Tpo" \
-c -o imagemanip.lo `test -f 'imagemanip.c' || echo './'`imagemanip.c; \
then mv -f ".deps/imagemanip.Tpo" ".deps/imagemanip.Plo"; \
else rm -f ".deps/imagemanip.Tpo"; exit 1; \
fi
rm -f .libs/imagemanip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT imagemanip.lo -MD -MP -MF .deps/imagemanip.Tpo -c imagemanip.c -fPIC -DPIC -o .libs/imagemanip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT imagemanip.lo -MD -MP -MF .deps/imagemanip.Tpo -c imagemanip.c -o imagemanip.o >/dev/null 2>&1
mv -f .libs/imagemanip.lo imagemanip.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT minutia.lo -MD -MP -MF ".deps/minutia.Tpo" \
-c -o minutia.lo `test -f 'minutia.c' || echo './'`minutia.c; \
then mv -f ".deps/minutia.Tpo" ".deps/minutia.Plo"; \
else rm -f ".deps/minutia.Tpo"; exit 1; \
fi
rm -f .libs/minutia.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT minutia.lo -MD -MP -MF .deps/minutia.Tpo -c minutia.c -fPIC -DPIC -o .libs/minutia.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT minutia.lo -MD -MP -MF .deps/minutia.Tpo -c minutia.c -o minutia.o >/dev/null 2>&1
mv -f .libs/minutia.lo minutia.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_morphology.lo -MD -MP -MF ".deps/img_morphology.Tpo" \
-c -o img_morphology.lo `test -f 'img_morphology.c' || echo './'`img_morphology.c; \
then mv -f ".deps/img_morphology.Tpo" ".deps/img_morphology.Plo"; \
else rm -f ".deps/img_morphology.Tpo"; exit 1; \
fi
rm -f .libs/img_morphology.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_morphology.lo -MD -MP -MF .deps/img_morphology.Tpo -c img_morphology.c -fPIC -DPIC -o .libs/img_morphology.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT img_morphology.lo -MD -MP -MF .deps/img_morphology.Tpo -c img_morphology.c -o img_morphology.o >/dev/null 2>&1
mv -f .libs/img_morphology.lo img_morphology.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT version.lo -MD -MP -MF ".deps/version.Tpo" \
-c -o version.lo `test -f 'version.c' || echo './'`version.c; \
then mv -f ".deps/version.Tpo" ".deps/version.Plo"; \
else rm -f ".deps/version.Tpo"; exit 1; \
fi
rm -f .libs/version.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -fPIC -DPIC -o .libs/version.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
mv -f .libs/version.lo version.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT matching.lo -MD -MP -MF ".deps/matching.Tpo" \
-c -o matching.lo `test -f 'matching.c' || echo './'`matching.c; \
then mv -f ".deps/matching.Tpo" ".deps/matching.Plo"; \
else rm -f ".deps/matching.Tpo"; exit 1; \
fi
rm -f .libs/matching.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT matching.lo -MD -MP -MF .deps/matching.Tpo -c matching.c -fPIC -DPIC -o .libs/matching.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT matching.lo -MD -MP -MF .deps/matching.Tpo -c matching.c -o matching.o >/dev/null 2>&1
mv -f .libs/matching.lo matching.lo
/bin/sh ../libtool --mode=link gcc -g -O2 -o libfvs.la -rpath /usr/local/lib -g `Magick-config --ldflags --libs` -version-info 0:0:0 image.lo import.lo export.lo floatfield.lo file.lo img_base.lo img_enhance1.lo histogram.lo imagemanip.lo minutia.lo img_morphology.lo version.lo matching.lo -lm
rm -fr .libs/libfvs.la .libs/libfvs.* .libs/libfvs.*
*** Warning: This library needs some functionality provided by -lm.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gcc -shared image.lo import.lo export.lo floatfield.lo file.lo img_base.lo img_enhance1.lo histogram.lo imagemanip.lo minutia.lo img_morphology.lo version.lo matching.lo -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so -Wl,-soname -Wl,libfvs.so.0 -o .libs/libfvs.so.0.0.0
(cd .libs && rm -f libfvs.so.0 && ln -s libfvs.so.0.0.0 libfvs.so.0)
(cd .libs && rm -f libfvs.so && ln -s libfvs.so.0.0.0 libfvs.so)
ar cru .libs/libfvs.a image.o import.o export.o floatfield.o file.o img_base.o img_enhance1.o histogram.o imagemanip.o minutia.o img_morphology.o version.o matching.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libfvs.a
creating libfvs.la
(cd .libs && rm -f libfvs.la && ln -s ../libfvs.la libfvs.la)
make[1]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
Making all in demos
make[1]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/demos'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_enhancer.o -MD -MP -MF ".deps/fvs_enhancer.Tpo" \
-c -o fvs_enhancer.o `test -f 'fvs_enhancer.c' || echo './'`fvs_enhancer.c; \
then mv -f ".deps/fvs_enhancer.Tpo" ".deps/fvs_enhancer.Po"; \
else rm -f ".deps/fvs_enhancer.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_enhancer -g fvs_enhancer.o -L../src -lfvs -lm
mkdir .libs
gcc -g -O2 -o .libs/fvs_enhancer -g fvs_enhancer.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_enhancer
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_createtestimages.o -MD -MP -MF ".deps/fvs_createtestimages.Tpo" \
-c -o fvs_createtestimages.o `test -f 'fvs_createtestimages.c' || echo './'`fvs_createtestimages.c; \
then mv -f ".deps/fvs_createtestimages.Tpo" ".deps/fvs_createtestimages.Po"; \
else rm -f ".deps/fvs_createtestimages.Tpo"; exit 1; \
fi
fvs_createtestimages.c: In function ‘GenerateLineImage’:
fvs_createtestimages.c:50:9: warning: implicit declaration of function ‘sin’ [-Wimplicit-function-declaration]
s = sin(dir);
^
fvs_createtestimages.c:50:9: warning: incompatible implicit declaration of built-in function ‘sin’
fvs_createtestimages.c:50:9: note: include ‘<math.h>’ or provide a declaration of ‘sin’
fvs_createtestimages.c:51:9: warning: implicit declaration of function ‘cos’ [-Wimplicit-function-declaration]
c = cos(dir);
^
fvs_createtestimages.c:51:9: warning: incompatible implicit declaration of built-in function ‘cos’
fvs_createtestimages.c:51:9: note: include ‘<math.h>’ or provide a declaration of ‘cos’
fvs_createtestimages.c: In function ‘GenerateCircleImage’:
fvs_createtestimages.c:91:13: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
d = sqrt((h/2-y)*(h/2-y) + (w/2-x)*(w/2-x));
^
fvs_createtestimages.c:91:13: warning: incompatible implicit declaration of built-in function ‘sqrt’
fvs_createtestimages.c:91:13: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
fvs_createtestimages.c:92:43: warning: incompatible implicit declaration of built-in function ‘cos’
p[x+y*pitch] = (uint8_t)(127.5*(1+cos(piom*d)));
^
fvs_createtestimages.c:92:43: note: include ‘<math.h>’ or provide a declaration of ‘cos’
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_createtestimages -g fvs_createtestimages.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_createtestimages -g fvs_createtestimages.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_createtestimages
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_direction.o -MD -MP -MF ".deps/fvs_direction.Tpo" \
-c -o fvs_direction.o `test -f 'fvs_direction.c' || echo './'`fvs_direction.c; \
then mv -f ".deps/fvs_direction.Tpo" ".deps/fvs_direction.Po"; \
else rm -f ".deps/fvs_direction.Tpo"; exit 1; \
fi
fvs_direction.c: In function ‘OverlayDirection’:
fvs_direction.c:46:13: warning: implicit declaration of function ‘cos’ [-Wimplicit-function-declaration]
c = cos(theta);
^
fvs_direction.c:46:13: warning: incompatible implicit declaration of built-in function ‘cos’
fvs_direction.c:46:13: note: include ‘<math.h>’ or provide a declaration of ‘cos’
fvs_direction.c:47:13: warning: implicit declaration of function ‘sin’ [-Wimplicit-function-declaration]
s = sin(theta);
^
fvs_direction.c:47:13: warning: incompatible implicit declaration of built-in function ‘sin’
fvs_direction.c:47:13: note: include ‘<math.h>’ or provide a declaration of ‘sin’
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_direction -g fvs_direction.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_direction -g fvs_direction.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_direction
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_thinner.o -MD -MP -MF ".deps/fvs_thinner.Tpo" \
-c -o fvs_thinner.o `test -f 'fvs_thinner.c' || echo './'`fvs_thinner.c; \
then mv -f ".deps/fvs_thinner.Tpo" ".deps/fvs_thinner.Po"; \
else rm -f ".deps/fvs_thinner.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_thinner -g fvs_thinner.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_thinner -g fvs_thinner.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_thinner
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_minutia.o -MD -MP -MF ".deps/fvs_minutia.Tpo" \
-c -o fvs_minutia.o `test -f 'fvs_minutia.c' || echo './'`fvs_minutia.c; \
then mv -f ".deps/fvs_minutia.Tpo" ".deps/fvs_minutia.Po"; \
else rm -f ".deps/fvs_minutia.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_minutia -g fvs_minutia.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_minutia -g fvs_minutia.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_minutia
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_mask.o -MD -MP -MF ".deps/fvs_mask.Tpo" \
-c -o fvs_mask.o `test -f 'fvs_mask.c' || echo './'`fvs_mask.c; \
then mv -f ".deps/fvs_mask.Tpo" ".deps/fvs_mask.Po"; \
else rm -f ".deps/fvs_mask.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_mask -g fvs_mask.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_mask -g fvs_mask.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_mask
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -MT fvs_binarize.o -MD -MP -MF ".deps/fvs_binarize.Tpo" \
-c -o fvs_binarize.o `test -f 'fvs_binarize.c' || echo './'`fvs_binarize.c; \
then mv -f ".deps/fvs_binarize.Tpo" ".deps/fvs_binarize.Po"; \
else rm -f ".deps/fvs_binarize.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -o fvs_binarize -g fvs_binarize.o -L../src -lfvs -lm
gcc -g -O2 -o .libs/fvs_binarize -g fvs_binarize.o -L/home/habib/Documents/Projects/fvs-0.1.1/src /home/habib/Documents/Projects/fvs-0.1.1/src/.libs/libfvs.so -L/usr/local/lib /usr/local/lib/libMagickCore-6.Q16.so /usr/lib/x86_64-linux-gnu/libfreetype.so -ljbig -ltiff -ljpeg -lpng12 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -llzma -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lz /usr/lib/x86_64-linux-gnu/libltdl.so -ldl -lgomp -lOpenCL -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
creating fvs_binarize
make[1]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/demos'
Making all in include
make[1]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/include'
make all-am
make[2]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/include'
make[2]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/include'
make[1]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/include'
make[1]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1'
安装
habib@Habib-PC:~/Documents/Projects/fvs-0.1.1$ sudo make install
Making install in src
make[1]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
make[2]: Entering directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool --mode=install /bin/install -c libfvs.la /usr/local/lib/libfvs.la
/bin/install -c .libs/libfvs.so.0.0.0 /usr/local/lib/libfvs.so.0.0.0
../libtool: line 4469: /bin/install: No such file or directory
Makefile:205: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 127
make[2]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
Makefile:397: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/habib/Documents/Projects/fvs-0.1.1/src'
Makefile:191: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error