[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-developer
Subject: [magick-developers] linking problem
From: "Nicolas Bessette" <bessettenic () hotmail ! com>
Date: 2003-06-04 15:20:26
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi !
I have a problem linking to ImageMagick :
error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl \
Magick::InitializeMagick(char const *)" (__imp_?InitializeMagick@Magick@@YAXPBD@Z)
I tried playing with the options without success... I compiled the static debug \
version of ImageMagick and I added CORE_DB_MAGICK++.lib, CORE_DB_MAGICK.lib and \
X11.lib in the linking options of my VC++ 6 MFC application (witch is also in debug \
config). I also added the lines #include "Magick++.h" and using namespace Magick
What did I miss ?
Thanks !
Nicolas Bessette
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a problem linking to ImageMagick
> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>error LNK2001: unresolved external symbol
"__declspec(dllimport) void __cdecl Magick::InitializeMagick(char const *)" (<A
href="mailto:__imp_?InitializeMagick@Magick@@YAXPBD@Z">__imp_?InitializeMagick@Magick@@YAXPBD@Z</A>)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried playing with the options without
success... I compiled the static debug version of ImageMagick and I added
CORE_DB_MAGICK++.lib, CORE_DB_MAGICK.lib and X11.lib in the linking options of
my VC++ 6 MFC application (witch is also in debug config).</FONT></DIV>
<DIV><FONT face=Arial size=2>I also added the lines #include "Magick++.h" and
using namespace Magick </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What did I miss ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nicolas Bessette<BR></FONT></DIV></BODY></HTML>
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic