I'm trying to build this pice of code:
#include <Magick++.h>
#include <iostream>
using namespace std;
using namespace Magick;
int main(int argc, char* argv[])
{
Image imagen;
//imagen.read( "girl.gif" );
}
An I get this erros:
Deleting intermediate files and output files for project 'imagemagick -
Win32 Debug'.
--------------------Configuration: imagemagick - Win32
Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
imagemagick.cpp
c:\archivos de programa\microsoft visual
studio\vc98\include\xlocale(467) : warning C4786:
'std::reverse_bidirectional_iterator<std::list<Magick::PathQuadraticCurvetoArgs,std::allocator<Magick::PathQuadraticCurvetoArgs>
::const_iterator,Magick::Pat
hQuadraticCurvetoArgs,Magick::PathQuadraticCurvetoArgs const
&,Magick::PathQuadraticCurvetoArgs const *,int>' : identifier was
truncated to '255' characters in the debug information
Linking...
imagemagick.obj : error LNK2001: unresolved external symbol "public:
virtual __thiscall Magick::Image::~Image(void)"
(??1Image@Magick@@UAE@XZ)
imagemagick.obj : error LNK2001: unresolved external symbol "public:
__thiscall Magick::Image::Image(void)" (??0Image@Magick@@QAE@XZ)
Debug/imagemagick.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
imagemagick.exe - 3 error(s), 1 warning(s)
someone can help me??
thanks
duffu
1. There's nothing you can do about warning 4786, so you may as well
2. It seeems that you have not linked the Magick library to your project.