Magick++
Posted: Tue May 07, 2024 3:29 pm
I'm trying to develop a module using the 'summarytools' package. This package has a dependency on the 'magick' package. While building the module, I get the following error :
I also got this error when I installed 'summarytools' on my usual R installation (Ubuntu OS) and I managed to solve it by installing libmagick++-dev. But inside Jamovi, I don't know if there is a way to install libmagick++-dev. Would you have any advice about it ?
Code: Select all
Package Magick++ was not found in the pkg-config search path.
Perhaps you should add the directory containing `Magick++.pc'
to the PKG_CONFIG_PATH environment variable
Package 'Magick++' not found
Using PKG_CFLAGS=
Using PKG_LIBS=-lMagick++-6.Q16
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find the Magick++ library. Try installing:
- deb: libmagick++-dev (Debian, Ubuntu)
- rpm: ImageMagick-c++-devel (Fedora, CentOS, RHEL)
- csw: imagemagick_dev (Solaris)
- brew imagemagick@6 (MacOS)
If Magick++ is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a Magick++.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: erreur fatale: Magick++.h : Aucun fichier ou dossier de ce type
compilation terminée.
--------------------------------------------------------------------
ERROR: configuration failed for package ‘magick’