Problem with xstring using Magick::Image::read(string)
Posted: 2013-01-15T03:56:28-07:00
Hi all!
I'm trying to use Magick++ on VS2010 (I'm working on window seven).
I have configurated my visual project, linking the following library (CORE_RL_Magick++_.lib, CORE_RL_magick_.lib, CORE_RL_wand_.lib, X11.lib, Xext.lib) and pasting all necessary dll in my project directory.
I would like to start with a simple code like this:
My app is built sucessfully, but when I start it, the line (my_image.read("wizard.jpg");) throws me an execption about access violation and my debugger ends in xstring file.
I don't know if it's really about xstring, but I would like to know if I'm doing wrong or if somebody has solution.
Thanks for your replies.
M.
I'm trying to use Magick++ on VS2010 (I'm working on window seven).
I have configurated my visual project, linking the following library (CORE_RL_Magick++_.lib, CORE_RL_magick_.lib, CORE_RL_wand_.lib, X11.lib, Xext.lib) and pasting all necessary dll in my project directory.
I would like to start with a simple code like this:
Code: Select all
#include <iostream>
#include "include\Magick++.h"
int main(int argc, char** argv){
Magick::InitializeMagick(*argv);
Magick::Image my_image;
my_image.read("wizard.jpg");
return 1;
}
I don't know if it's really about xstring, but I would like to know if I'm doing wrong or if somebody has solution.
Thanks for your replies.
M.