R中安装rgl时“configure: error: missing required library GL”错误的解决方法
来源:互联网 发布:淘宝发货前申请了退款 编辑:程序博客网 时间:2024/06/05 22:46
今天使用R时需要画一张3D图,于是在R中安装rgl包,由于依赖关系,安装过程中会提示如下的错误,根据提示可以看到是因为没有GL库,所以就需要安装gl的包,在Fedora17中开源的gl包为mesa,所以在root下需要执行
yum install mesa*
就可以把相关的包以及开发包下载并安装。安装好之后在R下继续执行install.pakages("rgl"),系统还是会报一样的错误,这时执行
strings /usr/lib/libGL.so | grep glEnd
如果输出
glEndList
glEnd
glEndQueryARB
glEndQuery
glEndFragmentShaderATI
glEndConditionalRenderNV
glEndConditionalRender
glEndTransformFeedbackEXT
glEndTransformFeedback
说明GL中有GLEnd函数,这时你就需要看看系统中是否安装了这两个库:libpng-devel and libX11-devel,因为GLEnd依赖以上两个包。
执行yum install libpng_devel libX11-devel
如果安装了系统会提示你已安装,否则就会安装相应的包,我的系统就是因为没有libpng_devel而出现安装rgl错误的。
0 0
- R中安装rgl时“configure: error: missing required library GL”错误的解决方法
- eclipse中出现Project ???is missing required library的解决方法
- 解决:在ubuntu下安装R语言ks包时的error:configuration failed for package ‘rgl’
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 更新:编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- (转)安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- 七天学会NodeJS
- 单体模式Singleton
- MySQL中的commit和rollback
- 求助:快速排序哪里出问题了?
- const & define
- R中安装rgl时“configure: error: missing required library GL”错误的解决方法
- Java基础知识10
- 关于sizeof,更详细的了解sizeof。。
- Qt第三方库QML-Box2D——安装测试
- Javascript Anonymous Function Called
- Java虚拟机 - 体系结构 内存模型
- TCP\IP三次握手连接,四次握手断开分析
- 五大主流数据库模型
- 在64位Win8.1安装32位Oracle11g并且安装了32位的客户端之后连接PL/SQL成功