trouble installing Magick ++
Posted: 2010-08-29T23:07:05-07:00
I'm not much of a programmer unfortunately, and any help would be appreciated.
I installed Magick++ from the windows binaries.
I copy pasted this into QT creator, it coudn't find Magick++.h at first so I just copy/pasted the relevant headers + folders from source into my project :
The compiler gives me a undefined reference Magick::InitializeMagick(const char*) error.
I installed Magick++ from the windows binaries.
I copy pasted this into QT creator, it coudn't find Magick++.h at first so I just copy/pasted the relevant headers + folders from source into my project :
Code: Select all
#include <iostream>
#include <Magick++.h>
#include <string>
using namespace std;
using namespace Magick;
int main( int /*argc*/, char ** argv)
{
// Initialize ImageMagick install location for Windows
InitializeMagick(*argv);
cout << "Hello World";
cin.get();
return 0;
}