Problem with imageMagic on Windows

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
nattydread

Re: Problem with imageMagic on Windows

Post by nattydread »

I have the same problem using Magick++ on code::blocks IDE and gcc,
I have all the libraries configured correctly in the IDE (the DLLs)

for the tutorial

#include <Magick++.h>
#include <iostream>
using namespace std;
using namespace Magick;
int main(int argc,char **argv)
{
Image master("horse.jpg");
}

I get:
undefined reference to `Magick::Image::Image(std::string const&)'


If I add the line

InitializeMagick(*argv);
I get
undefined reference to `Magick::InitializeMagick(char const*)'

so this isn't the problem either.
The c version works fine, the only problems are with Magick++.

Please help!
Post Reply