This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: image magic compilation errorrs


On Thu, Oct 24, 2002 at 09:07:31PM +0530, Sawa wrote:
> 
> On Thu, 24 Oct 2002, Claudio Bley wrote:
> 
> > ,----
> > | bash-2.05b$ c++ -o test test.cpp `Magick++-config --cxxflags --cppflags --ldflags --libs`
> > | In file included from /usr/X11R6/include/X11/magick/Magick++/Thread.h:25,
> > |                  from /usr/X11R6/include/X11/magick/Magick++/Blob.h:11,
> > |                  from /usr/X11R6/include/X11/magick/Magick++/Image.h:14,
> > |                  from /usr/X11R6/include/X11/magick/Magick++.h:9,
> > |                  from test.cpp:1:
> > | /usr/X11R6/include/X11/magick/Magick++/Include.h:13:36: magick/magick_config.h: No such
> > | file or directory
> > | /usr/X11R6/include/X11/magick/Magick++/Include.h:47:24: magick/api.h: No such file or
> > | directory
> > `----
> > 
> > OK, here's where the trouble begins. It simply can't find some header
> > files. So, the question is: do you have those files somewhere on your
> > system? Where? (locate magick_config.h)
> > 
> > Just include the location with an -I option on the command line.
> > 
> > Btw, what kind of system are you using? (uname -a) It's often easier
> > to give advice specific to your problem then.
> 
> 
> I cant locate magick_config.h anywhere
> though i do see files like Magick++-config.1 and Magick++-config
> the system is i386 type
> what do I do ??

Sorry for replying so late, but I had problems getting into the net;
couldn't send any mails.

If you don't have those files on your system I'm wondering how you
installed Magick++? Did you compile it yourself? Do you have a
RPM-based distribution? Or are you using Slackware?

Magick++ depends on ImageMagick. You need to install
ImageMagick-devel, libmagick5-dev or whatever the package is called in
terms of your distribution.

-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux advocate                     - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]