libpng源码编译安装

2021-09-08  本文已影响0人  菜菜子MJ

源码下载地址: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
上一篇 下一篇

猜你喜欢

热点阅读