Hi,
I want to cross-compile the IM on Arm processor. After ./configure & make & make install,i download the bin file "composite " and "identify" to my device.
After i execute "identify -list format",i got this result:
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
r read support
w write support
+ support for multiple images
and after i try to identify some jpg file,it gave:
identify: no decode delegate for this image format `src.jpg' @ constitute.c/ReadImage/526.
I search the web,it seems i didn't install the jpeg library correctly.
then i execute : identify -list configure ,and see:
DELEGATES freetype jpeg png zlib
LIBS -lMagickCore -lfreetype -ljpeg -lz -lm
I download libjpeg-6b.tar.bz2 and libpng-1.2.16.tar.bz2 from your support list and cross-compile them to get so files. then remake the IM,but nothing changed. I really don't know what's wrong with my steps.
Is there any tips?
PS.i use --enable-shared options and the jpeg configuration also use this option.
problem with crosscompile IM on ARM processor
Re: problem with crosscompile IM on ARM processor
Look at the last lines of output from the configure script. If the JPEG delegate library is validated you'll see
- JPEG v1 --with-jpeg=yes yes
- identify -list format
- JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
- convert -debug configure image.jpg null:
Re: problem with crosscompile IM on ARM processor
Thanks for your reply.
I read the config.log and find:
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.60)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=no no
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=no no
OpenEXR --with-openexr=no no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=no no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x=no no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
does it mean i have jpeg v1 lib?
I read the config.log and find:
Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=no no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.60)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=no no
LQR --with-lqr=no no
Magick++ --with-magick-plus-plus=no no
OpenEXR --with-openexr=no no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=no no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x=no no
XML --with-xml=no no
ZLIB --with-zlib=yes yes
does it mean i have jpeg v1 lib?
Re: problem with crosscompile IM on ARM processor
The problem is solved!
It's my fault,i forgot download the config and modules-Q16 files to my board.
the jpeg can work now ,but still cannot recognize png files.
I will keep working on it.
Thanks for your help!!
It's my fault,i forgot download the config and modules-Q16 files to my board.
the jpeg can work now ,but still cannot recognize png files.
I will keep working on it.
Thanks for your help!!