i am try to use magick++ for my vc++.net projects.... I use Visual Studio 2013
i have successfully compiled the magick++ libs and dlls.... now i have write a small progamm to test the function of the magick++
Code: Select all
#include "stdafx.h"
#include <cstdio>
#include <iostream>
#include <string.h>
#include <Magick++.h>
using namespace std;
using namespace Magick;
int _tmain(int argc, _TCHAR* argv[])
{
InitializeMagick("C:\build\testc\Debug");
Magick::Image img;
img.density(Magick::Geometry(36, 36));
img.read("test.jpg");
img.write("c:\test2.tif");
return 0;
}
Ausnahmefehler bei 0x5F9B81A0 (CORE_RL_Magick++_.dll) in testc.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0xCD3CDE58
some one know that is wrong?
thanks