Project

General

Profile

Actions

Support #3626

closed

Problem with including GraphicsMagick headers

Added by Alan Finley over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
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.

Actions #1

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

Actions #2

Updated by Koen Deforche about 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF