Using the Magick++ library in an application
Posted: 2010-01-04T08:01:28-07:00
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
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