LoginSignup
1
1

More than 5 years have passed since last update.

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

Last updated at Posted at 2016-02-16

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は事前にクロスコンパイルして、クロスコンパイル環境に入れて
おく必要がある。

関連投稿

関連記事

1
1
0

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
  3. You can use dark theme
What you can do with signing up
1
1