Actions
Support #3626
closedProblem with including GraphicsMagick headers
Start date:
10/15/2014
Due date:
% Done:
0%
Estimated time:
Description
Here is a piece of WRasterImage.C code:
#include <magick/api.h>
...
#if MagickLibVersion < 0x020002
#error GraphicsMagick version must be at least 1.3.0
#error You should upgrade GraphicsMagick or disable WRasterImage with -DENABLE_GM=OFF
#endif
On one of my Centos machines I've got installed both GraphicsMagick and ImageMagick packages.
They have similar header files:
ImageMagick: /usr/include/magick/api.h
GraphicsMagick: /usr/include/GraphicsMagick/magick/api.h
When I try to build Wt, the compiler detects an ImageMagick header file with an older version and terminates after the #error.
Updated by Koen Deforche about 9 years ago
- Tracker changed from Bug to Support
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
In that case you should run cmake with -DWT_WRASTERIMAGE_DEFAULT_IMPLEMENTATION=OFF
Koen
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions