Hi,
Im trying to cross compile ImageMagick for the Cell Platform. I need the basic JPEG and BMP reading and writing abilities of ImageMagick, that too only static libraries in C. I have used the following configure command:
./configure \
--disable-install \
--without-threads\
--without-magick-plus-plus\
--without-perl\
--without-jp2\
--without-tiff\
--without-zlib\
--without-wmf\
--without-fontconfig\
--without-freetype\
--without-lcms\
--without-png\
--without-gvc\
--without-rsvg\
--without-xml\
--without-modules\
--enable-shared=no\
--without-bzlib --without-x\
--host=ppc\
CC=/opt/cell/toolchain-3.3/bin/ppu32-gcc\
CPPFLAGS= -I /opt/cell/toolchain-3.3/sysroot/usr/include/
when I run make I run into the follwinng linking error:
/bin/sh ./libtool --silent --tag=CC --mode=link /opt/cell/toolchain-3.3/bin/ppu32-gcc -g -O2 -Wall -W -o utilities/animate utilities/animate.o magick/libMagick.la wand/libWand.la
magick/.libs/libMagick.a(magick_libMagick_la-avi.o): In function `ReadAVIImage':coders/avi.c:1652: undefined reference to `MagickMax'
coders/avi.c:1656: undefined reference to `MagickMax'
coders/avi.c:849: undefined reference to `MagickMin'
coders/avi.c:902: undefined reference to `MagickMin'
collect2: ld returned 1 exit status
make: *** [utilities/animate] Error 1
which option should I Enable/Disable ?
thanks in advance,
RaGe
Cross Compiling Image Magick
Re: Cross Compiling Image Magick
I would like to know if it is possible to cross-compile ImageMagick from Linux to create the Windows DLLs and .a libraries, and what I have to do.
Thanks !
Thanks !