image magic compilation errorrs

Claudio Bley bley@cs.uni-magdeburg.de
Wed Oct 23 16:26:00 GMT 2002


    Sawa> sorry for that silly mistake earlier but this one i really
    Sawa> dont know wht to do I am attaching a the error file its too
    Sawa> long but due to some basic error whcih is commonm or all
    Sawa> please look into it

,----
| 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.

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



More information about the Gcc-help mailing list