Page 1 of 1

Help me compile ImageMagick Libraries with MingW32

Posted: 2008-07-20T02:29:05-07:00
by Mortal
Hi, after numerous tries and hours of failing, i decided to ask you for help and hope this is the right place to do that.

First thing i have to say is that i'm not experienced when it comes to compiling, linking ... maybe not so experienced when it comes to C++ ;)

I started many attempts to compile this library so i can't tell you in detail what i tried ... sometimes i managed to build
the libs, but when i tried to use them i most of the time got an "Application asked to terminate in an unusual way" (very helpful) error...
The most successfull approach was to use the mingw32 binarys, but i still had to compile some of the other libraries and the most important(atleast for me) thing
loading and saving jpegs just didn't work :( (another thing i disliked was the executeable size, 8MB i guess that's because of static linking ?)

I just want to use the Magick++ Interface and the ImageMagick Library Functions, i don't want to use the Tools you provide and i don't want my application to depend on .xml files or environment variables.

So here are my questions:

-Is it right to use the Windows Source ?
-Which Libraries do i have to build in Order to achive my objective?
-Which Magick "defines" do i have to set ?
-There are so many different "defines" in all the other included libraries, is there a list of defines that should be set ?

I'm grateful for any hint that you can give me :)

Re: Help me compile ImageMagick Libraries with MingW32

Posted: 2008-07-22T23:13:57-07:00
by Mortal
Could someone at least reply to my post ? Doesn't have to be helpful ... just so i see someone read this ...

And if no one wants to help me, maybe you know an alternative to thsi library ? Just has to be able to read the most common image formats... 8)

Re: Help me compile ImageMagick Libraries with MingW32

Posted: 2008-07-24T23:24:30-07:00
by Mortal
Although i'm still stunnend because of the massive amount of replies i got and your willingness to help me get more experienced with building libs, i somehow managed to find an alternative !

Took me 30 minutes to create the first simple program that loads an image resizes it and saves it in a different format (including downloading and reading the documentation)

So everyone with problems similar to mine should have a look at this => devIL