Page 1 of 1

STL + Image Magick + Link settings

Posted: 2009-12-14T04:25:47-07:00
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...

Re: STL + Image Magick + Link settings

Posted: 2009-12-14T06:44:58-07:00
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.

Re: STL + Image Magick + Link settings

Posted: 2009-12-15T02:40:03-07:00
by asha09
Thanks for your response...

But My problem is not solving....