Page 1 of 1

xcode shows error “magick/magick-config.h” file not found

Posted: 2013-03-28T02:51:47-07:00
by webmastx
I'm using ImageMagick for my iphone app and it's working perfect on Devices and Simulator but when I tried archiving it,Xcode show me an error "magick/magick-config.h" file not found" in MagickWand.h file.

Code: Select all

#if !defined(_MAGICKWAND_CONFIG_H)
# define _MAGICKWAND_CONFIG_H
# if !defined(vms) && !defined(macintosh)
#  include "magick/magick-config.h"            <<<<<<<<< This line error
#  else
#  include "magick-config.h" 
# endif
Thank you.

Re: xcode shows error “magick/magick-config.h” file not foun

Posted: 2013-03-31T02:35:19-07:00
by broucaries
Do you use pkgconfig in order to configure compilation of imagemagick or do you hardcode path (-I or -L compiler option)

Please use pkgconfig and post your makefile