i want to develop a small thing under windows with the Magick++ stuff, but the linker seems to miss some objects.
Code: Select all
#include <Magick++.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
using namespace Magick;
int main( int argc, char **argv )
{
InitializeMagick(*argv);
Image oImage;
oImage.read( "test.jpg" );
oImage.zoom( Geometry("200x200") );
oImage.read( "test_out.jpg" );
return 0;
}
C:\Dokumente und Einstellungen\userbane\Eigene Dateien\c.devel\scaleimage\main.cpp|15|undefined reference to `Magick::InitializeMagick(char const*)'|
....
i asked allready the guys in the codeblocks forum, but the say ask the guys from imagemagick... so i hope somebody can help me.
The most time i develop under linux, and there i have no problems but windows... only trouble with it.