junjunlab / scRNAtoolVis

Useful functions to make your scRNA-seq plot more cool!
Other
254 stars 27 forks source link

Dependency of Magick #42

Open yifanfu01 opened 3 months ago

yifanfu01 commented 3 months ago

Hi Junjun, I installed scRNAtoolVis on the HPC without ROOT access, and i met the error that magick package is not available. But it is always not easy for users of HPC to install a new environment, so could you kindly consider to provide a solution for this?

--------------------------- [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: fatal error: Magick++.h: No such file or directory
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for package 'magick'
pacmandoh commented 3 months ago

hi @yifanfu01, It seems that the problem of calling the c++ library is not easy to solve. Because scRNAtoolVis does not seem to call the library directly, but its dependent call.