Magick++-Config(1)

✨ Magick++-Config(1), but make it iconic ✨

πŸ’– NAME πŸ’–

Magick++-config β€” get the lowdown on the installed version of Magick++ πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so Magick++-config is literally the bestie who hands you every compiler and linker flag you need to build and link programs that use the ImageMagick C++ Application Programmer Interface (aka Magick++) 🧚✨ No more guessing, it just tells you.

🌸 EXAMPLES 🌸

To print the version of the installed Magick++ distribution, slide in with:

Magick++-config --version

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

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

πŸ‘‘ OPTIONS πŸ‘‘

  • --cppflags β€” the preprocessor flags you need so your program can find the ImageMagick C and C++ include files and defines πŸ”₯ This keeps the ImageMagick data structures lined up between your program and the installed libraries, so nothing gets weird.
  • --cxxflags β€” the compiler flags that were used to compile libMagick++ πŸ’…
  • --exec-prefix β€” the directory where the target specific binaries and executables are installed 🧚
  • --ldflags β€” the linker flags you need to link with the libMagick++ library πŸ”—
  • --libs β€” the linker flags needed to link a program with libMagick++ πŸ’œ
  • --prefix β€” the directory the package is installed under 🌈
  • --version β€” prints the version of the ImageMagick distribution to standard output ⭐

Copyright (C) 2000 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. 🌈

Permission is hereby granted, free of charge, to any person who obtains a copy of this software and its associated documentation files ("ImageMagick"), to deal in ImageMagick without restriction. That includes the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of ImageMagick, and to let the people you furnish ImageMagick to do the same, subject to the following conditions:

The above copyright notice and this permission notice must be included in all copies or substantial portions of ImageMagick. πŸ“

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. 😭 In no event shall ImageMagick Studio be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with ImageMagick or the use or other dealings in ImageMagick.

Except as contained in this notice, the name of ImageMagick Studio may not be used in advertising or otherwise to promote the sale, use or other dealings in ImageMagick without prior written authorization from ImageMagick Studio. πŸš«πŸ’…

🧚 AUTHORS 🧚

Bob Friesenhahn, ImageMagick Studio πŸ‘‘


Bestie, that's the whole thing! πŸ’– It's all from ImageMagick, dated 2 May 2002, and it's still the page that makes Magick++ compile without drama πŸ¦‹βœ¨

πŸ“¦ where this page comes from