james,
i'm not at all sure what's wrong with your search paths,
if i run:
pacman -Qo locate Magick++.h
it reveals:
/usr/include/ImageMagick/Magick++.h is owned by imagemagick 6.6.2.0-1
checking for PKG_IMAGEMAGICK___CFLAGS... -fopenmp -I/usr/include/ImageMagick
checking for PKG_IMAGEMAGICK___LIBS... -lMagick++ -lMagickCore
--
i can only suggest to attempt updating your imagemagick package, and check that 'Magick++-config --cppflags' returns an accurate path to the imagemagick headers..
changing the #include to a full path is certainly the wrong way about fixing this.. a correct -I flag at compilation will yield far cleaner results.
for the record, here's the contents of my imagemagick include, yours should look similar. good luck.. -- $ find /usr/include/ImageMagick /usr/include/ImageMagick /usr/include/ImageMagick/wand /usr/include/ImageMagick/wand/magick-property.h /usr/include/ImageMagick/wand/drawing-wand.h /usr/include/ImageMagick/wand/composite.h /usr/include/ImageMagick/wand/display.h /usr/include/ImageMagick/wand/compare.h /usr/include/ImageMagick/wand/magick-image.h /usr/include/ImageMagick/wand/MagickWand.h /usr/include/ImageMagick/wand/pixel-wand.h /usr/include/ImageMagick/wand/mogrify.h /usr/include/ImageMagick/wand/magick_wand.h /usr/include/ImageMagick/wand/convert.h /usr/include/ImageMagick/wand/animate.h /usr/include/ImageMagick/wand/stream.h /usr/include/ImageMagick/wand/montage.h /usr/include/ImageMagick/wand/pixel-iterator.h /usr/include/ImageMagick/wand/pixel-view.h /usr/include/ImageMagick/wand/conjure.h /usr/include/ImageMagick/wand/identify.h /usr/include/ImageMagick/wand/deprecate.h /usr/include/ImageMagick/wand/import.h /usr/include/ImageMagick/wand/magick-wand.h /usr/include/ImageMagick/Magick++ /usr/include/ImageMagick/Magick++/Include.h /usr/include/ImageMagick/Magick++/Pixels.h /usr/include/ImageMagick/Magick++/Drawable.h /usr/include/ImageMagick/Magick++/STL.h /usr/include/ImageMagick/Magick++/Image.h /usr/include/ImageMagick/Magick++/Geometry.h /usr/include/ImageMagick/Magick++/CoderInfo.h /usr/include/ImageMagick/Magick++/Montage.h /usr/include/ImageMagick/Magick++/Color.h /usr/include/ImageMagick/Magick++/TypeMetric.h /usr/include/ImageMagick/Magick++/Exception.h /usr/include/ImageMagick/Magick++/Blob.h /usr/include/ImageMagick/magick /usr/include/ImageMagick/magick/delegate.h /usr/include/ImageMagick/magick/option.h /usr/include/ImageMagick/magick/hashmap.h /usr/include/ImageMagick/magick/memory_.h /usr/include/ImageMagick/magick/signature.h /usr/include/ImageMagick/magick/resample.h /usr/include/ImageMagick/magick/feature.h /usr/include/ImageMagick/magick/locale_.h /usr/include/ImageMagick/magick/MagickCore.h /usr/include/ImageMagick/magick/magick-type.h /usr/include/ImageMagick/magick/composite.h /usr/include/ImageMagick/magick/display.h /usr/include/ImageMagick/magick/magic.h /usr/include/ImageMagick/magick/compare.h /usr/include/ImageMagick/magick/histogram.h /usr/include/ImageMagick/magick/gem.h /usr/include/ImageMagick/magick/distort.h /usr/include/ImageMagick/magick/fourier.h /usr/include/ImageMagick/magick/pixel.h /usr/include/ImageMagick/magick/shear.h /usr/include/ImageMagick/magick/mime.h /usr/include/ImageMagick/magick/decorate.h /usr/include/ImageMagick/magick/artifact.h /usr/include/ImageMagick/magick/blob.h /usr/include/ImageMagick/magick/quantum.h /usr/include/ImageMagick/magick/configure.h /usr/include/ImageMagick/magick/threshold.h /usr/include/ImageMagick/magick/fx.h /usr/include/ImageMagick/magick/coder.h /usr/include/ImageMagick/magick/resize.h /usr/include/ImageMagick/magick/methods.h /usr/include/ImageMagick/magick/policy.h /usr/include/ImageMagick/magick/magick.h /usr/include/ImageMagick/magick/utility.h /usr/include/ImageMagick/magick/segment.h /usr/include/ImageMagick/magick/log.h /usr/include/ImageMagick/magick/xwindow.h /usr/include/ImageMagick/magick/semaphore.h /usr/include/ImageMagick/magick/colormap.h /usr/include/ImageMagick/magick/random_.h /usr/include/ImageMagick/magick/transform.h /usr/include/ImageMagick/magick/registry.h /usr/include/ImageMagick/magick/animate.h /usr/include/ImageMagick/magick/magick-config.h /usr/include/ImageMagick/magick/compress.h /usr/include/ImageMagick/magick/client.h /usr/include/ImageMagick/magick/splay-tree.h /usr/include/ImageMagick/magick/cache.h /usr/include/ImageMagick/magick/colorspace.h /usr/include/ImageMagick/magick/paint.h /usr/include/ImageMagick/magick/matrix.h /usr/include/ImageMagick/magick/constitute.h /usr/include/ImageMagick/magick/stream.h /usr/include/ImageMagick/magick/cache-view.h /usr/include/ImageMagick/magick/list.h /usr/include/ImageMagick/magick/montage.h /usr/include/ImageMagick/magick/accelerate.h /usr/include/ImageMagick/magick/type.h /usr/include/ImageMagick/magick/version.h /usr/include/ImageMagick/magick/profile.h /usr/include/ImageMagick/magick/exception.h /usr/include/ImageMagick/magick/ImageMagick.h /usr/include/ImageMagick/magick/api.h /usr/include/ImageMagick/magick/prepress.h /usr/include/ImageMagick/magick/enhance.h /usr/include/ImageMagick/magick/quantize.h /usr/include/ImageMagick/magick/timer.h /usr/include/ImageMagick/magick/PreRvIcccm.h /usr/include/ImageMagick/magick/xml-tree.h /usr/include/ImageMagick/magick/draw.h /usr/include/ImageMagick/magick/statistic.h /usr/include/ImageMagick/magick/color.h /usr/include/ImageMagick/magick/annotate.h /usr/include/ImageMagick/magick/image.h /usr/include/ImageMagick/magick/morphology.h /usr/include/ImageMagick/magick/identify.h /usr/include/ImageMagick/magick/deprecate.h /usr/include/ImageMagick/magick/module.h /usr/include/ImageMagick/magick/token.h /usr/include/ImageMagick/magick/attribute.h /usr/include/ImageMagick/magick/layer.h /usr/include/ImageMagick/magick/string_.h /usr/include/ImageMagick/magick/monitor.h /usr/include/ImageMagick/magick/cipher.h /usr/include/ImageMagick/magick/effect.h /usr/include/ImageMagick/magick/property.h /usr/include/ImageMagick/magick/widget.h /usr/include/ImageMagick/magick/resource_.h /usr/include/ImageMagick/magick/geometry.h /usr/include/ImageMagick/Magick++.h --
James Dunn wrote:
Hi dmotd,
thanks for the link. I tried the PKGBUILD and it fails at exactly the same point. I already have imagemagick installed and Magickk++.h is in /usr/include/ImageMagick
If i change Gem/src/Base/GemPixImageLoad.cpp line 64 from:
# include <Magick++.h>
to:
# include </usr/include/ImageMagick/Magick++.h>
it gets past the original error, but fails with the following error:
In file included from GemPixImageLoad.cpp:64:0: /usr/include/ImageMagick/Magick++.h:9:30: fatal error: Magick++/Include.h: No such file or directory compilation terminated.
So now it can't find Include.h, but Include.h is definitely located here: /usr/include/ImageMagick/Magick++/Include.h
Must be something to do with paths right? How to I solve this?
James
Quoth dmotd, on 05/07/10 14:30:
hi james,
there's a PKGBUILD already available on AUR.. http://aur.archlinux.org/packages.php?ID=22509
tested very recently..
btw, you are missing imagemagick 'pacman -S imagemagick' should do the trick.
dmotd
James Dunn wrote:
Hi list,
I am trying to compile pd-extended on arch linux according to the instructions here: http://puredata.info/docs/developer/GettingPdSource I checked out svn and follwed the instructions here: http://puredata.info/docs/ developer/BuildingPdExtended
make install fails with:
GemPixImageLoad.cpp:64:23: fatal error: Magick++.h: No such file or directory compilation terminated
I have ImageMagick installed and Magick++.h is in /usr/include/ImageMagick/ as well as /usr/local/include/ImageMagick Do I have to modify my path or something?
thanks
James _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list