解决Ubuntu 12.04安装qtcreator后无法打开时的错误:Could not initialize GLX
来源:互联网 发布:免费的招聘软件 编辑:程序博客网 时间:2024/06/01 09:03
安装qtcreator。官网下载qt-creator-opensource-linux-x86_64-3.2.2.run,到/usr/local/src/目录。.run文件的安装很简单,只需要为该文件增加可执行属性,即可直接运行打开可视化安装界面。
安装步骤:
cd /usr/local/src/
chmod +x qt-creator-opensource-linux-x86_64-3.2.2.run
sudo ./qt-creator-opensource-linux-x86_64-3.2.2.run
打开了图形化安装向导界面,按向导步骤安装则可。
出现问题:
安装后打不开qtcreator. 从Dash里面点qtcreator的图标,任何反应都没有。进入安装后的bin目录,./qtcreator也打不开,但是提示一个错误:
Could not initialize GLX
Google了一会,说是nvidia drive和Graphic card兼容相关的问题。如果不加载欢迎页面,这样:
./qtcreator -noload Welcome
就可以打开,果然。但是看了特别不习惯,于是继续求解,...
解决方法:
第一步:
Enable the Universe and Multiverse repositories - you need to do this to allow the bumblebee and nvidia packages respectively to be installed.
1)sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
2)sudo gedit /etc/apt/sources.list
3) Multiverse is already turn on by default.
第二步:
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
第三步:
Install Bumblebee using the default proprietary nvidia driver for 12.04 :
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
第四步:
Reboot
详细参考:
https://wiki.ubuntu.com/Bumblebee
- 解决Ubuntu 12.04安装qtcreator后无法打开时的错误:Could not initialize GLX
- Ubuntu 12.04安装qtcreator后无法打开,终端运行提示:Could not initialize GLX
- Qtcreator 界面启动不了报错:Could not initialize GLX
- cytoscape 安装后打开时出现错误:The JVM could not be started.....的解决方式
- Could not initialize class net.sf.json.JsonConfig错误解决
- could not initialize proxy - no Session错误解决
- Could not initialize class net.sf.json.JsonConfig错误解决
- power designer 连接数据库以及 Could not Initialize JavaVM! 错误的解决
- 【解决】Eclipse无法打开提示could not open jvm.cfg错误
- ubuntu 12.04 LTS 出现Could not initialize the package information
- Ubuntu下安装eclipse后,打开报错 Could not load SWT library
- Ubuntu 12.04关于libgl1-mesa-glx:i386安装的问题
- Ubuntu 12.04关于libgl1-mesa-glx:i386安装的问题
- Ubuntu 12.04关于libgl1-mesa-glx:i386安装的问题
- 解决QTP启动后,无法打开IE的错误
- PowerDesigned15连接MySQL出现"Could not initialize JavaVM"时的详细解决步骤(图文)
- 【CentOS 6.5】解决QtCreator 安装时错误: 无法解析dbus_connection_can_send_type中的符号"dbus_connection_can_send_type"
- 错误could not initialize proxy - no Session
- 为什么你应该(从现在开始就)写博客
- Dos汇编的简单输入输出.
- 强大的vim配置文件,让编程更随意
- TortoiseSVN—Repo-browser,打开你要比较的两个版本所在的地址,选择一个版本做为比较的基础(单击右键—选择mark for comparison),再选择另外一个版本(单击右键—选
- sw_scale中实现yuv420转rgb888——neon汇编优化
- 解决Ubuntu 12.04安装qtcreator后无法打开时的错误:Could not initialize GLX
- 2015一切都是新的开始
- android中的match_parent, fill_parent和wrap_content
- cocos2dx3.2 xcode代码块啊,气死自己的类名,低级的错误何时了?
- 配置vim开发Android[神器终究是神器]
- 静态链表
- 进程、挂起、线程、死锁、中断、陷入
- [leetcode 4] Median of Two Sorted Arrays
- 利用xdebug和netbeans调试thinkphp源码及流程分析