opening an image in c++ results in MissingDelegateError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cimg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am using CImg-dev icm. ImageMagick++ to open a file:
using namespace cimg_library;
CImg<unsigned char> comp = CImg<unsigned char>( "image.png" );
it compiles, but it results in a Error::
Description: Ubuntu 9.04
Release: 9.04
Versions of the packages are recent downloaded. Magic version 6.4.5
What I found peculiar: in the Delegates it states jpeg and png (amongst others) but at the LIBS it does load -ljpeg but not -lpng
identify -list configure:
(..)
DELEGATES bzlib djvu freetype gvc jpeg jp2 lcms openexr png tiff x11 xml wmf zlib
(..)
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl
reassigning from imagemagick to cimg