Page 1 of 1

Beginiing with Magick++

Posted: 2008-11-25T06:53:43-07:00
by jonas_II
Hi and Hallo,

I'm a totaly beginner withe the Magick++! So i have some questions.....!

1st:
the worst: It dosn't Work!
when i try to compile withe VS 2005, i include <magick++> (it works) and i try something this:

Code: Select all

	Magick::Image aImage;

	aImage.read("test.gif");
Error:
ImageMagick_1.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall Magick::Image::~Image(void)" (__imp_??1Image@Magick@@UAE@XZ)" in Funktion "_wWinMain@16".
ImageMagick_1.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Magick::Image::Image(void)" (__imp_??0Image@Magick@@QAE@XZ)" in Funktion "_wWinMain@16".

I know I have to include some *.libs?? But wich one? I had try almost all!
What can i do?

and 2nd: is Magick++ able to load and show pictures with dimensions ...... meyby about 10000x10000 ?

ciao Jonas

Re: Beginiing with Magick++

Posted: 2008-11-25T08:25:15-07:00
by magick
Go to the ImageMagick installation folder and look for Magick++_demos. Build and run the Button workspace. We assume it works for you. Now use this project workspace as a template for your own project. It has all the necessary settings to link to the Magick++ API.

Re: Beginiing with Magick++

Posted: 2008-11-25T12:41:02-07:00
by jonas_II
ok! new Problem:
when i try to compile the "config.dsw" then:

Code: Select all

LINK : fatal error LNK1104: Datei "msvcprtd.lib" kann nicht geöffnet werden.
when i copy this file or set the directory and than build:

Code: Select all

msvcprtd.lib(MSVCP90D.dll) : fatal error LNK1112: Modul-Computertyp "x64" steht in Konflikt mit dem Zielcomputertyp "X86".
That means something like: Modlu"x64" is in conflict with Aimcopmutertyp "X86"...
Whats happen there!!
I've try it with VC 2008!!

Re: Beginiing with Magick++

Posted: 2008-11-25T13:56:42-07:00
by magick
Did you download the 64-bit version of ImageMagick? Try downloading the 32-bit version instead.

Re: Beginiing with Magick++

Posted: 2008-11-25T14:19:22-07:00
by jonas_II
Nothing was there, like something like this "imagmagick32_win" etc...!
can you give me an adress for the 32 version?
I've got it from here
http://www.filewatcher.com/m/ImageMagic ... 3.0.0.html
:shock:
sorry for problems!!
Ah, its possible to load and show picture which have the dimensions of about 20000x20000 ?

ciao J