Magick++ attribute will not link

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Necuima
Posts: 4
Joined: 2014-01-18T23:43:40-07:00
Authentication code: 6789

Magick++ attribute will not link

Post by Necuima » 2019-04-14T21:25:00-07:00

I am trying to get the exif data from a jpeg image file using the Magick++ attribute approach but I get link errors LNK2028 and LNK2019 for the image object instance attribute. The environment is Visual Studio Community Edition 2017. The version of ImageMagick is 6.9.3-7 compiled with the Magick++ headers. The operating system is Windows 10. I get the same issue when trying to use the latest Windows version of Image Magick similarly compiled.

The exif data are there via the Windows command line indentify -verbose filename.

The Magick++ methods that I am using such as read, quality, resize and write all link and work fine but the attribute does not - (standard string) extracted_data = image.attribute("exif:DateTime"); gives the link errors.

Any advice will be most appreciated and thanking you in anticipation.

Necuima
Posts: 4
Joined: 2014-01-18T23:43:40-07:00
Authentication code: 6789

Re: Magick++ attribute will not link

Post by Necuima » 2019-04-15T19:08:25-07:00

Further information: On a separate Windows 7 PC the identical C++ code compiles, links and executes perfectly. On that PC the IDE is Visual Studio 2010 Express with ImageMagick 6.8.6.

Post Reply