Problems with functions ResetImagePropertyIterator() and GetNextImageProperty()
Posted: 2015-06-18T14:54:32-07:00
Hi,
I'm trying to use the two functions ResetImagePropertyIterator() and GetNextImageProperty() (that can be found in include/magick/property.h). I'm using VisualStudio and I have:
at the top of my file.
First, I tried:
and I got: "error C3861: 'ResetImagePropertyIterator': identifier not found"
Then I tried:
and I got: "error C2039: 'ResetImagePropertyIterator' : is not a member of '`global namespace'' even if the function was present in the auto-completion list.
Note that I'm already using things like:
and everything is working fine so my include paths should be okay.
I suppose there's something simple I'm missing here... Do you have an idea what it is?
I found that post: viewtopic.php?t=21469 that shows the exact same problem as mine, but that post never got an answer...
Many thanks!
Julie
I'm trying to use the two functions ResetImagePropertyIterator() and GetNextImageProperty() (that can be found in include/magick/property.h). I'm using VisualStudio and I have:
Code: Select all
#include <Magick++.h>
#include <magick/property.h>
First, I tried:
Code: Select all
ResetImagePropertyIterator( image );
Then I tried:
Code: Select all
MagickExport::ResetImagePropertyIterator( image );
Note that I'm already using things like:
Code: Select all
Magick::Image image;
image.read( filename );
and everything is working fine so my include paths should be okay.
I suppose there's something simple I'm missing here... Do you have an idea what it is?
I found that post: viewtopic.php?t=21469 that shows the exact same problem as mine, but that post never got an answer...
Many thanks!
Julie