I'm trying to install (build) ImageMagick (currently 6.9.0) on a Mac running OS X 10.9.5. I need the JP2 support, and for some reasons, while enabling jp2 with configure, I got this warning:
configure: WARNING: unrecognized options: --with-jp2
and the delegates table leave me with a blank as a value:
JPEG-2000 --with-jp2=yes
and got that at the end:
CXXFLAGS = -g -O2 -D_THREAD_SAFE -pthread
FEATURES = DPC HDRI OpenMP
DELEGATES = bzlib mpeg fftw fontconfig freetype jng jpeg pango png ps tiff x zlib
I can build it like this but the JP2 won't work, I know it as I tried. So I'm kinda stuck here, how can I force the jp2 delegate?
Thanks
If you are using homebrew then simply set the appropriate flag, in this case
--with-openjpeg
, so to install you simple doIf imagemagick is already installed then use
brew reinstall imagemagick --with-openjpeg
or uninstall first. Also remember that you can always check the available brew options usingbrew info imagemagick
(this holds for any package/formula).