Hi everybody,
i want to compile a small text application which use Magick++ but i became a lot of linker errors.
i have allready add all libs from C:\Programme\ImageMagick-6.6.1-Q16\lib\ under the linke settings but without any effect.
her is the code
#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;
}
but the compiler says:
C:\Dokumente und Einstellungen\userbane\Eigene Dateien\c.devel\scaleimage\main.cpp|15|undefined reference to `Magick::InitializeMagick(char const*)'|
....
hope somebody can help - i use windows XP.... when it is interessting for the solution... normaly i work under linux but for that it is nessary that i use windows