STL + Image Magick + Link settings

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
asha09

STL + Image Magick + Link settings

Post by asha09 »

Hi All..

Im developing a small VC++ application..

In that im using STL and Magick ++ libraries..

im setting the following link in Project setting dialog for both libraries...

(D:\Image Lib\Release Mode\ImageMagick-windows\ImageMagick-6.3.4,D:\Image Lib\Release Mode\ImageMagick-windows\ImageMagick-6.3.4\magick,D:\Image Lib\Release Mode\ImageMagick-windows\ImageMagick-6.3.4\VisualMagick\lib,D:\Image Lib\Release Mode\ImageMagick-windows\ImageMagick-6.3.4\Magick++\lib,D:\Image Lib\Release Mode\ImageMagick-windows\ImageMagick-6.3.4\Magick++\stl)

Next im compiling my application..

it gives more no.of errors......

Like...

d:\image lib\release mode\imagemagick-windows\imagemagick-6.3.4\magick++\lib\magick++\drawable.h(83) : error C2039: 'allocator' : is not a member of 'std'
d:\image lib\release mode\imagemagick-windows\imagemagick-6.3.4\magick++\lib\magick++\drawable.h(83) : error C2143: syntax error : missing ';' before '<'
d:\image lib\release mode\imagemagick-windows\imagemagick-6.3.4\magick++\lib\magick++\drawable.h(83) : error C2079: 'allocator' uses undefined class 'std'
d:\image lib\release mode\imagemagick-windows\imagemagick-6.3.4\magick++\lib\magick++\drawable.h(83) : error C2059: syntax error : '<'
d:\image lib\release mode\imagemagick-windows\imagemagick-6.3.4\magick++\lib\magick++\drawable.h(86) : error C2027: use of undefined type 'std'...

Any one please help me..

Thanks in Advance...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: STL + Image Magick + Link settings

Post by magick »

Go to c:/Program Files/ImageMagick-6.5.8-Q16/Magick++_demos and click on the Button workspace. Build and run. Hopefully it will compile and run without complaint. If so, use the Button workspace as a model for your custom Magick++ code.
asha09

Re: STL + Image Magick + Link settings

Post by asha09 »

Thanks for your response...

But My problem is not solving....
Post Reply