image magic compilation errorrs

Sawa sawa@cse.iitb.ac.in
Wed Oct 23 06:39:00 GMT 2002


hi
  i have recently installed Magic++ 
but i dont know how to compile a code
kindly help
thanks in advance

sawa

bash-2.05b$ c++ -o test test.cpp `Magick++-config -cxxflags -cppflags
-ldflags -libs`
Usage: Magick++-config [--cppflags] [--cxxflags] [--exec-prefix]
[--ldflags] [--libs] [--prefix] [--version]

 For example, "example.cpp" may be compiled to produce "example" as
follows:

  "c++ -o example example.cpp `Magick++-config --cppflags --cxxflags
--ldflags --libs`"
test.cpp:1:21: Magick++.h: No such file or directory

test.cpp:4: namespace `Magick' undeclared


"And I am not frightened of dying, any time will do, I
don't mind. Why should I be frightened of dying?
There's no reason for it, you've gotta go sometime."  ... floyd




More information about the Gcc-help mailing list