error C3861: 'VignetteImage': identifier not found

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
mtunderwood
Posts: 1
Joined: 2012-12-10T13:11:52-07:00
Authentication code: 6789

error C3861: 'VignetteImage': identifier not found

Post by mtunderwood »

Hi all,
I am trying to compile a small C++ program that uses the VignetteImage function. When I build (in msvc 9) I get an undeclared identifier error.
error C3861: 'VignetteImage': identifier not found

I am linking to the following libs and including the following headers:
CORE_DB_Magick++_.lib
CORE_DB_magick_.lib
CORE_DB_xlib_.lib
#include <Magick++.h>
#include <magick.h>

I thought maybe VignetteImage was in some lib I'm not linking to, but when I used DLL explorer I see that it's exported in CORE_DB_magick.DLL.

I would appreciate any help the community can offer :)

EDIT
I'm using IM 6.8.0
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: error C3861: 'VignetteImage': identifier not found

Post by fmw42 »

I am not a windows user, so some one else may be more informed, but you may need a more current Visual C++. See http://www.imagemagick.org/script/binar ... hp#windows
Post Reply