GCC 版本不一致导致的 R magick 包安装错误 #87
shenweiyan
announced in
1.3-折腾
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在安装 Y 叔的
yyplot时候,发现magick依赖包安装的时候的一些棘手问题,特此记录一下。R-4.0.3 安装
仅在 Bash 环境配置了
PATH和PKG_CONFIG_PATH是不够的,安装过程会提示动态库的问题。最终解决方案:
ggimage_0.3.1。meme包,然后再安装yyplot。R-4.3.0 安装
R-4.3.0 安装
magick_2.8.4会出现 ropensci/magick#166 的问题。根据 ropensci/magick#166#issuecomment-457875591 的描述,编译 ImageMagick 的 gcc 需要跟编译 R 的 gcc 保持版本一致。wget https://download.imagemagick.org/archive/releases/ImageMagick-7.0.10-24.tar.xz extract ImageMagick-7.0.10-24.tar.xz cd ImageMagick-7.0.10-24 ./configure CC=/home/shenweiyan/software/gcc-7.3.0/bin/gcc CXX=/home/shenweiyan/software/gcc-7.3.0/bin/g++ --prefix=/home/shenweiyan/software/ImageMagick-7.0.10-24 make make installmagick包meme包,然后再安装yyplot。Beta Was this translation helpful? Give feedback.
All reactions