Page 1 of 1

Magick++ on windows

Posted: 2008-07-04T06:22:13-07:00
by imagetester
Well I' m new to Image Magick, and i want to use it with C++ on Windows.

So I'll use Magick++, so what would be the steps to be able to compile a program using the Magick++.h library ?

In other words i want to #include <Magick++.h> using Microsoft Visual C++ (express edition).

I would appreciate your clear explanation, thanks in advance.


( NB: I've installed the ImageMagick-6.4.2-1-Q16-windows-dll.exe )

Re: Magick++ on windows

Posted: 2008-07-04T06:53:41-07:00
by magick
To get started with Magick++, try one of the demostration projects available with the ImageMagick Windows binaries. After installing, move to this folder: c:\Program Files\ImageMagick-6.4.2-Q16\Magick++_Demos and launch the Button project. Build and execute. Assuming all goes well, use the Button project as a template as your own Magick++ project.

Re: Magick++ on windows

Posted: 2008-07-07T06:29:18-07:00
by imagetester
MM first of all thanks, yes I've been able to build and execute, BUT i didn't quite get what to do if i wanna create a new project outside the Magick++_Demos folder.

I've done what u said : removed the button from the project and added a new one button2.cpp here i was able to compile ( use the <Magick++.h> with no fatal error).
Is this what you mean by template, is there any other alternative to compile a file in another address ?!?

Thanks,