initializeMagick(*argv) undeclared identifier error

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Posts: 29
Joined: 2015-10-20T07:29:42-07:00
Authentication code: 1151

initializeMagick(*argv) undeclared identifier error

Post by 2049651 » 2015-10-26T01:29:34-07:00

Hi. My vs2010 form application has code like this

Code: Select all

The file looks like this:

// ex3.cpp : main project file. #include "stdafx.h" #include "Form1.h" #include <Magick++.h> using namespace ex3; using namespace Magick; [STAThreadAttribute] int main(array<System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // Create the main window and run it Application::Run(gcnew Form1()); InitializeMagick(*argv); Image master;"C:₩₩abc.jpg"); master.addNoise(ImpulseNoise); master.write("C:₩₩abc_magic.jpg"); return 0; }
But as I know the InitializeMagicK is initialized like as following

the error message what 'argv' undeclared identifier. In this case, what am I supposed to do for solving? 

Post Reply