unable to use magick++
Posted: 2008-07-01T08:03:16-07:00
Hi,
I'm loosing my time searching the correct way to have a valid and functional version of the magick++ api...
- first, i have tried with the "ImageMagick-6.4.2-0-Q8-windows-dll.exe" : nice i've got the ".h", ".lib" and ".dll". But unfortunetely, i think because my project is a dll, the program crashes when using the magick's dlls through my dll.
- second, i have tried to compile the .dlls by myself, changing some parameters, trying to make them compatible with my project, but since i use VC++ 2008 express edition, i've got "#include" errors at compile time because "afxwin.h" isn't present.
- third, i decide to download the microsoft platform sdk, to have this file (afxwin.h). Then i've got compilation errors because some symbols aren't well defined.
- forth, i decide to build a static version of magick++ (what i don't really want because i'm going to use magick++ in a lot of dlls, but whatever, i really need to continue my work !). I've got some errors during linking.
- fifth, i try to use "ImageMagick-6.4.2-0-Q8-windows-static.exe". It installs a static version of image magick, but hey ? where are the ".h" and ".lib" ?
So please, tell me how i can have a stable version of magick++ ! I'm not a newbee, while performing all these steps i have tried to change some parameters, searching in a lot of different way, modifying code... But now i'm exhausted, loosing 2 days on this library.
It is for a professionnal project and i really need help !
Perhaps someone can send me ".h", ".lib" and ".dll", compiled under microsoft VC++ 2005 or 2008 express and which are working !
Thank you in advance
I'm loosing my time searching the correct way to have a valid and functional version of the magick++ api...
- first, i have tried with the "ImageMagick-6.4.2-0-Q8-windows-dll.exe" : nice i've got the ".h", ".lib" and ".dll". But unfortunetely, i think because my project is a dll, the program crashes when using the magick's dlls through my dll.
- second, i have tried to compile the .dlls by myself, changing some parameters, trying to make them compatible with my project, but since i use VC++ 2008 express edition, i've got "#include" errors at compile time because "afxwin.h" isn't present.
- third, i decide to download the microsoft platform sdk, to have this file (afxwin.h). Then i've got compilation errors because some symbols aren't well defined.
- forth, i decide to build a static version of magick++ (what i don't really want because i'm going to use magick++ in a lot of dlls, but whatever, i really need to continue my work !). I've got some errors during linking.
- fifth, i try to use "ImageMagick-6.4.2-0-Q8-windows-static.exe". It installs a static version of image magick, but hey ? where are the ".h" and ".lib" ?
So please, tell me how i can have a stable version of magick++ ! I'm not a newbee, while performing all these steps i have tried to change some parameters, searching in a lot of different way, modifying code... But now i'm exhausted, loosing 2 days on this library.
It is for a professionnal project and i really need help !
Perhaps someone can send me ".h", ".lib" and ".dll", compiled under microsoft VC++ 2005 or 2008 express and which are working !
Thank you in advance