Beginiing with Magick++

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
jonas_II

Beginiing with Magick++

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Beginiing with Magick++

Post 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.
jonas_II

Re: Beginiing with Magick++

Post 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!!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Beginiing with Magick++

Post by magick »

Did you download the 64-bit version of ImageMagick? Try downloading the 32-bit version instead.
jonas_II

Re: Beginiing with Magick++

Post 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
Post Reply