Magick++-config(1)

Magick++-config1

Get information about the installed version of magick++

Usage

Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]

Overview

Magick++-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick C++ Application Programmer Interface (known as Magick++ ).

Examples

To print the version of the installed distribution of Magick++, use:

  Magick++-config --version

To compile a program that calls the ImageMagick C++ Application Programmer Interface, use:

  c++ `Magick++-config --cxxflags --cppflags --ldflags --libs` program.cpp

Options

--cppflags

Print the preprocessor flags that are needed to find the ImageMagick C and C++ include files and defines to ensures that the ImageMagick data structures match between your program and the installed libraries.

--cxxflags

Print the compiler flags that were used to compile libMagick++.

--exec-prefix

Print the directory under which target specific binaries and executables are installed.

--ldflags

Print the linker flags that are needed to link with the libMagick++ library.

--libs

Print the linker flags that are needed to link a program with libMagick++.

--prefix

Print the directory under which the package is installed.

--version

Print the version of the ImageMagick distribution to standard output.

Releases

13 releases since Debian 3.0 (Woody); the text changed 4 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0–7
  4. 8–13
  5. Arch

--exec-prefix since Debian 3.1 (Sarge); --prefix since Debian 3.1 (Sarge).

Authors

Bob Friesenhahn, ImageMagick Studio

From imagemagick 7.1.2.35-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.