good Morning;
I need your help with liking Magick++ lib in my application. I am using MS VS 2008 VC++ with Windows XP. Here is what I did
- Installed ImageMagick-6.5.8 in my compute.
- Moved my application into VisualMagick folder.
-Opened my application and adding the following DLLs:
+CORE_Magick++_mt_dll.vcproj
+CORE_magick_mt_dll.vcproj
+CORE_wand_mt_dll.vcproj
-I build every one. but I was getting link error LNK2019 and LNK2001 "unresolved external symbol
-Second problem: I have added the follwoings to my application:
#include <Magick++.h>
using namespace Magick;
when build I was getting the follwoing error: fatal error C1083 "can't find include file Magick++.h no such file or directory.
I am not sure if I am linking the application binary against the ImageMagick runtime libs correctly;
I have opened and used UTIL_IMDisplay; Its exactly what I am looking for, it would be great if I could link it to my source code.
Please help and thank you.
Regards
Using the Magick++ library in an application
Re: Using the Magick++ library in an application
Go to c:/Program Files/ImageMagick-6.5.8-10/Magick++_demos. Click on the Button workspace, build, and execute. We assume this worked. Now use the Button workspace as a model for your own project.
Re: Using the Magick++ library in an application
first I would like to thank you for your prompt response. I could not find Magick++_demos folder in ImageMagick-6.5.8-10 version.but there is Magick++/demo. in demo folder there are two button files. button.cpp and button.sh. VS 2008 does not open .sh file as a workspace. VS2008 workspace files are (.sln). VC++ 6 worspace is .dsw. I could find any of those files in demo folder. .sh must be UNIX or Linux file. Thanks again;
Re: Using the Magick++ library in an application
If you installed ImageMagick from the self-installing binary distribution there will be a Magick++_demo folder most likely in c:\Program Files\ImageMagick-6.5.8-10-Q16.
Re: Using the Magick++ library in an application
Yes, I found and installed ImageMagick-6.5.8-10-Q16 with Magick++_demo and button.dsp, it build and complied Successfully ..this is a good start, thank you very much, I will let you know how it gose...
Regards;
Regards;