Installing Magick++ with Visual Studio 2015, Windows 7

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
GonVas
Posts: 1
Joined: 2016-08-14T19:00:36-07:00
Authentication code: 1151

Installing Magick++ with Visual Studio 2015, Windows 7

Post by GonVas »

Hi,

I have installed ImageMagick (7.0.2 Q16) and i have used it a few times with cmd.
The thing is, I can´t install Magick++ or make it work with Visual Studio 2015, can someone guide me from the begining on how to install it for visual studio 2015. I have already googled alot of solutions but none worked.

Thanks for any help.
NetJohn
Posts: 8
Joined: 2016-09-24T21:02:07-07:00
Authentication code: 1151

Re: Installing Magick++ with Visual Studio 2015, Windows 7

Post by NetJohn »

Need to set up the includes and libraries in the build setup.

In your solution explorer window (on the left), select your project, right click, select properties.

Then, select Configuration Properties --> C/C++ --> General and add the include path to "Additional Include Directories"

Then, select Configuration Properties --> Linker --> General and add the library path to "Additional Library Directories"

I think that's all I did for mine to work.

John
NetJohn
Posts: 8
Joined: 2016-09-24T21:02:07-07:00
Authentication code: 1151

Re: Installing Magick++ with Visual Studio 2015, Windows 7

Post by NetJohn »

Forgot something:

Under Configuration Properties --> Linker --> Input add the following to "Additional Dependencies:

Add:

CORE_RL_MagickCore_.lib
CORE_RL_Magick++_.lib
CORE_RL_MagickWand_.lib

John
Post Reply