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