Can anyone help me? 
I'm a Magic++ newbe trying to compile  the very  first 
C++ exanple provided in the online documentaion for Magick++ class Image.
Here's the code:

#include <Magick++.h> 
#include <iostream> 
using namespace std; 
using namespace Magick; 
int main(int argc,char **argv) 
{ Image image;
  try { 
    image.read( "girl.gif" );
    image.crop( Geometry(100,100, 100, 100) );
    image.write( "x.gif" ); 
  } 
  catch( Exception &error_ ) 
    {  cout << "Caught exception: " << error_.what() << endl; 
      return 1; 
    } 
  return 0; 
}

I installedunder WINDOWS XP  ImageMagick-6.2.9-2-Q8-windows-dll.exe
and am using a windows version of the gcc compiler (DevC++ IDE)

The code compiles OK, but the linker can't resolve calls to Image.read(),
crop()
etc. 

??  Which Magick++ files does the linker need to resolve these calls to
class Image methods ? 

Regardless of whether I provide the linker 
all CORE_RL_*.dll that comes with my installed version 
OR 
all the CORE_RL*.lib files (CORE_RL_magick_.lib  CORE_RL_magick++_.lib 
and CORE_RL_wand_.lib),  

I still get the same  linker errors .

Thanks for any help on this.

[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to