libpng源码编译安装

源码下载地址:https://sourceforge.net/projects/libpng/files/
注意不同平台下载不同的包

These two files contain the source and supporting files
    with LF line endings (for Unix/Linux) with the "configure"
    script.  Both have identical content.
    
       libpng-<version>.tar.xz (LZMA-compressed, recommended)
       libpng-<version>.tar.gz
    
These two files contain the source and supporting files
    with CRLF line endings (for Windows), without the "configure"
    script.  Both have identical content.
    
       lp<version>.7z (LZMA-compressed, recommended)
       lp<version>.zip
# Linux 下编译安装
./configure --prefix=$HOME/workspace/libpng/libpng/output
make -j
make install
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容