Page 1 of 1

Configuration porblem while installation on linux

Posted: 2011-12-25T08:27:33-07:00
by wizards
Hello all,

I am new to ImageMagick on Linux. I already build IM from source in VC++.
In VC+ + i build IM to support all image formates.

when i build IM in linux i am not able to build to support all image formates.

I gave the configure as follows

./configure CXX=g++ CFLAGS=-O2 --with-magick-plus-plus=yes --with-jpeg=yes

after i build I got libMagick++.so file but I did not get any jpeg related shared objects.

I want to build my application to load any image.

Can you please help me what to do to build ImageMagick from source to support all formated images.

Thanks in advance
wizards

Re: Configuration porblem while installation on linux

Posted: 2011-12-25T18:46:56-07:00
by magick
ImageMagick picks up delegate libraries if they are available as binary libraries with header files. Install the JPEG and JPEG development libraries and when you rebuild ImageMagick it should automatically discover JPEG and include support for it. You can install JPEG as a local library but generally its installed with RPM's. Under CentOS, for example, you would type somthing like 'yum install jpeg jpeg-devel'.