LoginSignup
1

More than 5 years have passed since last update.

posted at

updated at

PNGを扱えるImageMagickをクロスコンパイルするには

PNGを扱えるImageMagickをクロスコンパイルするには

pkg-configが必要だった。

ホスト側にホスト用のpkg-configを入れて、
PKG_CONFIG_PATHをターゲットの.pcの格納されているパスに設定するもしくは、
ターゲット用のpkg-configを別途入れる。

apt-get install -y pkg-config
apt-get install -y mingw-w64-tools --no-install-recommends

pkg-configがないと、configure時にPNGを有効にしたMakefileが
作られない。

注意

libpngは事前にクロスコンパイルして、クロスコンパイル環境に入れて
おく必要がある。

関連投稿

関連記事

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
1