I've successfully compiled the IM binaries on Ubuntu, 64-bit with libjpeg into a personal directory on my system (I have no root access).
I can run convert and mogrify on jpeg's successfully, but when I #include <Magick++.h> and attempt to read in a jpg file, I get the standard Magick::ErrorMissingDelegate.
Here's the code:
#include <Magick++.h>
int main(int argc, char** argv) {
Magick::Image image;
image.read("./img.jpg");
}
compiled as follows:
g++ -g -O2 -Wall -W -pthread -I/home/jim/Desktop/Magick++/include/ImageMagick/ -I/home/jim/Desktop/Magick++/include/ImageMagick/Magick++ -L/home/jim/Desktop/Magick++/lib/ -I/home/jim/Desktop/libjpeg/include/ -L/home/jim/Desktop/libjpeg/lib/ -lMagick++ -lMagickWand -lMagickCore -ljpeg test_img.cc -o test_img
Been working on this for a couple days, so any help is appreciated.
Magick++ Decode Delegate Problem
Re: Magick++ Decode Delegate Problem
Run the identify command like this:
- identify -list format
Re: Magick++ Decode Delegate Problem
Yes indeed.
/home/jim/Desktop/Magick++/bin/identify -list format
output:
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format
/home/jim/Desktop/Magick++/bin/identify -list format
output:
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format
Re: Magick++ Decode Delegate Problem
Again, the issue is with Magick++ only. I can run the binaries without issue.
Anyone have _any_ suggestions?
Anyone have _any_ suggestions?