欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

zimg 安装报错的解决 zimg

程序员文章站 2023-12-29 23:54:28
...
原文:
https://github.com/buaazp/zimg/issues/128

mkdir -p build/zimg
cd build/zimg; cmake /home/sunlei/zimg/src; make; cp zimg /home/sunlei/zimg/bin
CMake Error at /usr/local/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find ImageMagick (missing: ImageMagick_MagickCore_LIBRARY)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.0/Modules/FindImageMagick.cmake:234 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:70 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/sunlei/zimg/build/zimg/CMakeFiles/CMakeOutput.log".
make[1]: Entering directory `/home/sunlei/zimg/build/zimg'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/sunlei/zimg/build/zimg'
cp: cannot stat ?.img?. No such file or directory
make: *** [all] Error 1


解决方案:
sudo apt-get install -y build-essential openssl cmake libevent-dev libjpeg-dev libgif-dev libpng-dev libwebp-dev libmagickwand-dev libmemcached-dev libssl-dev
相关标签: zimg

上一篇:

下一篇: