zoukankan      html  css  js  c++  java
  • Mono Libgdiplus库

    Libgdiplus是一个Mono库,用于对非Windows操作系统提供GDI+兼容的API。libgdiplus是mono中的System.Drawing依赖的一个组件,用于显示web页面基本颜色等。目前最新是libgdiplus-2.10,具体可以 http://www.mono-project.com/Libgdiplus

    tar -xjvf libgdiplus-2.10.tar.bz2
    cd libgdiplus-2.10
    ./configure --prefix=/usr/local
    make
    make install

    ./configure –prefix=/usr/,这是源代码安装的第一步,主要的作用是对即将安装的软件进行配置,检查当前的环境是否满足要安装软件的依赖关系。当完成配置出现如下信息时,说明依赖关系全都具备,可以开始安装libgdiplus。

    如果出现如下信息:

    configure: WARNING: *** TIFF plug-in will not be built (TIFF library not found) ***
    checking for jpeg_destroy_decompress in -ljpeg... no
    configure: WARNING: *** JPEG loader will not be built (JPEG library not found) ***
    checking for DGifOpenFileName in -lgif... no
    configure: WARNING: *** GIF loader will not be built (giflibrary not found) ***
    checking for DGifOpenFileName in -lungif... no
    configure: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***
    checking for libpng12... no
    checking for png_read_info in -lpng... no
    configure: error: *** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html.

    说明缺少libtiff、libjpeg、libgif、libpng等库,安装这些库:

    yum install libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype 
  • 相关阅读:
    Springboot2.0之HikariCP 连接池
    Spring Kafka中关于Kafka的配置参数
    Spring @Async异步线程池 导致OOM报错的原因
    JDK 8 函数式编程入门
    Spring自定义argumentResolver参数解析器
    Kafka消费异常处理
    Java项目生成可执行jar包、exe文件以及在Windows下的安装文件
    Mysql索引研究总结
    windows安装zookeeper
    JVM中的堆和栈
  • 原文地址:https://www.cnblogs.com/shanyou/p/3055393.html
Copyright © 2011-2022 走看看