OpenGL为一个程序和另一个程序工作,它给出错误:“X错误请求失败”

时间:2012-08-15 10:02:02

标签: c++ opengl ubuntu-12.04 xorg

  

可能重复:
  OpenGL window isn't opening

这个问题与C ++没什么关系,只是代码是用那种语言编写的。

刚刚玩OpenGL并且很新。我的操作系统是Ubuntu 12.04。我能够运行一些基本程序。

this link中提到的代码在我的系统上正常运行 现在,当我开始编写教程时,chapter 1 program无法加载。它给出了错误:

X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  34 ()
  Serial number of failed request:  34
  Current serial number in output stream:  33

这不是glxinfo问题。我有fixed the problem in glxinfo and xorg。我的/var/log/Xorg.0.log未发现任何错误(EE) 我还安装了freeglutmesa-utilsglew等软件包。

这里有什么我想念的吗?

0 个答案:

没有答案