在Ubuntu上更新OpenGL


2

尝试运行Portal 2时,出现此错误:

SDL video target is 'x11'
SDL video target is 'x11'

SDL failed to create GL compatibility profile (whichProfile=0!
SDL failed to create GL compatibility profile (whichProfile=0!

PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

如何更新OpenGL,以便可以运行Portal 2?

Answers:


1

他们似乎在这个GitHub帖子以及这个帖子中都讨论了这个问题。这个问题似乎不是OpenGL升级问题,而是libstdc++.so.6位于中的问题SteamApps/common/Portal 2/bin/libstdc++.so.6。“ xandark”发布的解决方案似乎是最适合该问题的解决方案:

  1. 删除 SteamApps/common/Portal 2/bin/libstdc++.so.6
  2. 运行Steam客户端
  3. cd "SteamApps/common/Portal 2"
  4. LD_LIBRARY_PATH=bin ./portal2_linux -game portal2 -windowed

我认为只需执行步骤1,然后运行Steam客户端即可解决该问题。但是请确保阅读这些线程以获取更多信息。


它仍然给了同样的错误
GMAN史密斯

@GmanSmith我已经尽力了。无能为力了。请阅读这些页面并进行一些搜索libstdc++.so.6,看看是否有帮助。祝你好运!
JakeGould
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.