错误-magick / ImageMagick.h:没有这样的文件或目录

时间:2018-08-05 20:37:52

标签: imagemagick

我正在尝试从源代码安装指纹传感器驱动程序。我已经运行过sudo ./configure,并且没有出现任何错误。然后,在尝试做sudo make时遇到了以下错误。

uname@computer:~/libfprint-0.0.6$ sudo make
make  all-recursive
make[1]: Entering directory '/home/nirmal/libfprint-0.0.6'
Making all in libfprint
make[2]: Entering directory '/home/nirmal/libfprint-0.0.6/libfprint'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I./nbis/include  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-7  -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -g -O2 -MT libfprint_la-imgdev.lo -MD -MP -MF .deps/libfprint_la-imgdev.Tpo -c -o libfprint_la-imgdev.lo `test -f 'imgdev.c' || echo './'`imgdev.c
 gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I./nbis/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/ImageMagick-7 -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -g -O2 -MT libfprint_la-imgdev.lo -MD -MP -MF .deps/libfprint_la-imgdev.Tpo -c imgdev.c  -fPIC -DPIC -o .libs/libfprint_la-imgdev.o
imgdev.c:23:32: fatal error: magick/ImageMagick.h: No such file or directory
compilation terminated.
Makefile:456: recipe for target 'libfprint_la-imgdev.lo' failed
make[2]: *** [libfprint_la-imgdev.lo] Error 1
make[2]: Leaving directory '/home/nirmal/libfprint-0.0.6/libfprint'
Makefile:304: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/nirmal/libfprint-0.0.6'
Makefile:215: recipe for target 'all' failed
make: *** [all] Error 2

我已经安装了以下库,以避免出现'ImageMagick.h not found错误',但仍然无法摆脱此错误:

  • graphicsmagick
  • graphicsmagick-dbg
  • graphicsmagick-imagemagick-compat
  • graphicsmagick-libmagick-dev-compat
  • imagemagick-6.q16
  • imagemagick-7.0.8
  • imagemagick-common
  • imagemagick-dbg
  • imagemagick-doc
  • libgraphics-magick-perl
  • libgraphicsmagick ++-q16-12
  • libgraphicsmagick ++ 1-dev
  • libgraphicsmagick-q16-3
  • libgraphicsmagick1-dev
  • libmage-magick-q16-perl
  • libmagick ++-6标题
  • libmagick ++-6.q16-5v5
  • libmagick ++-6.q16-dev
  • libmagickcore-6-arch-config
  • libmagickcore-6.q16-2
  • libmagickcore-6.q16-2-extra
  • libmagickcore-6.q16-dev
  • libmagickwand-6-headers
  • libmagickwand-6.q16-2
  • libmagickwand-6.q16-dev
  • libmagickwand-dev

谢谢!

0 个答案:

没有答案