Hello
I want to start to use the magickwand c api.
I work with codeblocks 10 and windows xp sp2
can you tell me what I need to download / configure in order to compile a simple c image-magick example ?
it's not clear for me
thanks and best regards
Spectre
how to setup magickwand c api (newbie question)
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: how to setup magickwand c api (newbie question)
Download the Win32 dynamic binary version (pick Q8 or Q16) of the ImageMagick DLL installation file.
http://studio.imagemagick.org/script/bi ... hp#windows
Execute it, and in the dialog make sure you select to install the headers.
When you compile a program, codeblocks will need to know the following information. I use MSVC so I don't know how to set it in codeblocks but I presume you can figure that out.
- Add the path to your include directory in the compiler - something like "C:\Program Files\ImageMagick-6.7.1-Q8\include"
- for the linker stage, add the additional library directory C:\Program Files\ImageMagick-6.7.1-Q8\lib
- also for the linker, add the Additional Dependencies CORE_RL_magick_.lib CORE_RL_wand_.lib
and if you're using C++ also add CORE_RL_Magick++_.lib
Pete
http://studio.imagemagick.org/script/bi ... hp#windows
Execute it, and in the dialog make sure you select to install the headers.
When you compile a program, codeblocks will need to know the following information. I use MSVC so I don't know how to set it in codeblocks but I presume you can figure that out.
- Add the path to your include directory in the compiler - something like "C:\Program Files\ImageMagick-6.7.1-Q8\include"
- for the linker stage, add the additional library directory C:\Program Files\ImageMagick-6.7.1-Q8\lib
- also for the linker, add the Additional Dependencies CORE_RL_magick_.lib CORE_RL_wand_.lib
and if you're using C++ also add CORE_RL_Magick++_.lib
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
Re: how to setup magickwand c api (newbie question)
Dear Mr. el_supremo,
thanks for the exhaustive reply it works!
best regards
spectre
thanks for the exhaustive reply it works!
best regards
spectre