* image magic compilation errorrs
@ 2002-10-23 6:39 Sawa
2002-10-23 7:46 ` Claudio Bley
0 siblings, 1 reply; 7+ messages in thread
From: Sawa @ 2002-10-23 6:39 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-23 6:39 image magic compilation errorrs Sawa
@ 2002-10-23 7:46 ` Claudio Bley
2002-10-23 8:28 ` Sawa
0 siblings, 1 reply; 7+ messages in thread
From: Claudio Bley @ 2002-10-23 7:46 UTC (permalink / raw)
To: Sawa; +Cc: gcc-help
>>>>> "Sawa" == Sawa <sawa@cse.iitb.ac.in> writes:
Sawa> bash-2.05b$ c++ -o test test.cpp `Magick++-config -cxxflags
Sawa> -cppflags -ldflags -libs` Usage: Magick++-config
Sawa> [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags]
Sawa> [--libs] [--prefix] [--version]
Sawa> For example, "example.cpp" may be compiled to produce
Sawa> "example" as follows:
Sawa> "c++ -o example example.cpp `Magick++-config --cppflags
Sawa> --cxxflags --ldflags --libs`"
Why don't you just follow the advice given in the line above???
There need to be 2 dashes in front of cppflags, cxxflags, libs and
ldflags options to the Magick++-config script.
bash-2.05b $ Magick++-config --cppflags --cxxflags --ldflags --libs
-DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include/X11/magick -I/usr/X11R6/include -I/usr/X11R6/include/X11
-O2 -march=i686
-L/usr/lib -L/usr/X11R6/lib -L/usr/X11R6/lib
-lMagick++ -lMagick -L/usr/X11R6/lib -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lz -lpthread -lm
--
Claudio Bley ASCII ribbon campaign (")
Debian GNU/Linux advocate - against HTML email X
http://www.cs.uni-magdeburg.de/~bley/ & vCards / \
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-23 7:46 ` Claudio Bley
@ 2002-10-23 8:28 ` Sawa
2002-10-23 16:26 ` Claudio Bley
0 siblings, 1 reply; 7+ messages in thread
From: Sawa @ 2002-10-23 8:28 UTC (permalink / raw)
To: gcc-help, Claudio Bley
[-- Attachment #1: Type: TEXT/PLAIN, Size: 222 bytes --]
sorry for that silly mistake earlier
but this one i really dont know wht to do
I am attaching a the error file
its too long but due to some basic error whcih is commonm or all
please look into it
Thanks in advance
Sawa
[-- Attachment #2: Type: TEXT/PLAIN, Size: 6170 bytes --]
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
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:60: `Quantum' not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:63: `InitializeMagick' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:66: `ClassType' not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:67: `UndefinedClass' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:68: `DirectClass' not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:69: `PseudoClass' not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:72: `ColorspaceType' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:73: `UndefinedColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:74: `RGBColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:75: `GRAYColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:76: `TransparentColorspace'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:77: `OHTAColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:78: `XYZColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:79: `YCbCrColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:80: `YCCColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:81: `YIQColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:82: `YPbPrColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:83: `YUVColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:84: `CMYKColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:85: `sRGBColorspace' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:88: `AddCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:89: `AtopCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:90: `BumpmapCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:91: `ClearCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:92: `ColorizeCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:93: `CompositeOperator' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:94: `CopyBlueCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:95: `CopyCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:96: `CopyGreenCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:97: `CopyOpacityCompositeOp'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:98: `CopyRedCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:99: `DarkenCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:100: `DifferenceCompositeOp'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:101: `DisplaceCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:102: `DissolveCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:103: `HueCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:104: `InCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:105: `LightenCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:106: `LuminizeCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:107: `MinusCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:108: `ModulateCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:109: `MultiplyCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:110: `NoCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:111: `OutCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:112: `OverCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:113: `OverlayCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:114: `PlusCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:115: `SaturateCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:116: `ScreenCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:117: `SubtractCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:118: `ThresholdCompositeOp'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:119: `UndefinedCompositeOp'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:120: `XorCompositeOp' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:123: `CompressionType' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:124: `UndefinedCompression'
not declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:125: `NoCompression' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:126: `BZipCompression' not
declared
/usr/X11R6/include/X11/magick/Magick++/Include.h:127: `FaxCompression' not
declared
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-23 8:28 ` Sawa
@ 2002-10-23 16:26 ` Claudio Bley
2002-10-24 8:34 ` Sawa
0 siblings, 1 reply; 7+ messages in thread
From: Claudio Bley @ 2002-10-23 16:26 UTC (permalink / raw)
To: Sawa; +Cc: gcc-help
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 / \
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-23 16:26 ` Claudio Bley
@ 2002-10-24 8:34 ` Sawa
2002-10-28 5:18 ` Claudio Bley
0 siblings, 1 reply; 7+ messages in thread
From: Sawa @ 2002-10-24 8:34 UTC (permalink / raw)
To: Claudio Bley; +Cc: gcc-help
On Thu, 24 Oct 2002, Claudio Bley wrote:
>
> 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.
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 ??
Sawa
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-24 8:34 ` Sawa
@ 2002-10-28 5:18 ` Claudio Bley
2002-10-28 22:50 ` Abhineet Sawa
0 siblings, 1 reply; 7+ messages in thread
From: Claudio Bley @ 2002-10-28 5:18 UTC (permalink / raw)
To: Sawa; +Cc: gcc-help
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 / \
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: image magic compilation errorrs
2002-10-28 5:18 ` Claudio Bley
@ 2002-10-28 22:50 ` Abhineet Sawa
0 siblings, 0 replies; 7+ messages in thread
From: Abhineet Sawa @ 2002-10-28 22:50 UTC (permalink / raw)
To: Claudio Bley; +Cc: gcc-help
no its fine now
i had used the earlier version
and installed an RPM
then i installed the latest version after some problems
everything is fine now
actually i subcribes to image magic mailing list
there i found most of the error thaat i got and the solutions for them as
well
sawa
On Mon, 28 Oct 2002, Claudio Bley wrote:
> 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 / \
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-10-29 6:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 6:39 image magic compilation errorrs Sawa
2002-10-23 7:46 ` Claudio Bley
2002-10-23 8:28 ` Sawa
2002-10-23 16:26 ` Claudio Bley
2002-10-24 8:34 ` Sawa
2002-10-28 5:18 ` Claudio Bley
2002-10-28 22:50 ` Abhineet Sawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).