Building ImageMagick 6.7.9 with various delegates on OS X

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mwk
Posts: 3
Joined: 2012-10-16T07:32:57-07:00
Authentication code: 67789

Building ImageMagick 6.7.9 with various delegates on OS X

Post by mwk »

Hi All-

I'm trying to build ImageMagick 6.7.9 from source, along with various transcoder delegates. While I'm able to build imagemagick without any trouble, getting the various delegates to work has been a struggle with lots of trial and error.

The only delegate I've currently got working is jpeg-8d(which I installed from imagemagick ftp)-here's how I'm configuring it, which I then install via a call to 'make install':
./configure --prefix=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg --libdir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg \
--includedir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/jpeg

so, I've got the jpeg lib installed in the source directory of imagemagick.

I'm configuring Imagemagick(and achieving success with jpeg) with this:
./configure --enable-shared --enable-delegate-build --prefix=/Users/mwkohout/Documents/imagemagick_build/installRoot --with-perl=no --without-magick-plus-plus --with-x=no --without-ttf --enable-shared=yes

However, if I try to build tiff-4.03(also downloaded from the imagemagic ftp server), and install it into a 'tiff' folder next to the built 'jpeg' delegate, Imagemagick doesn't pick it up. Here's how I'm configuring that:
./configure --prefix=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff CFLAGS="-DHAVE_APPLE_OPENGL_FRAMEWORK" \
--libdir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff --includedir=/Users/mwkohout/Documents/imagemagick_build/sourceroot/ImageMagick-6.7.9-10/tiff


Does anyone have any idea what I may be doing wrong? Individual portions of all this are working, I'm just not getting the results I'd expect.

thanks
Mike
Last edited by mwk on 2012-10-16T13:25:57-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Building ImageMagick 6.7.9 with various delegates on OX

Post by fmw42 »

I assume you mean OSX.

Here is how I do it.

viewtopic.php?f=1&t=21502&p=88202&hilit ... rts#p88202
Post Reply