This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
image magic compilation errorrs
- From: Sawa <sawa at cse dot iitb dot ac dot in>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 23 Oct 2002 19:09:51 +0530
- Date: Wed, 23 Oct 2002 19:13:00 +0530 (IST)
- Subject: image magic compilation errorrs
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