我正在通过Learning Modern 3D Graphics Programming,我试图运行“hello,world!”三角形程序。不过,我得到这个错误:glXCreateContextAttribsARB未找到
[email protected]:~/Desktop/Tutorial 0.3.8/Tut 01 Hello Triangle$ ./Tut\ 01\ Main
freeglut (./Tut 01 Main): glXCreateContextAttribsARB not found
运行 'glxinfo' 给了我这样的:
[email protected]:~/Desktop/Tutorial 0.3.8/Tut 01 Hello Triangle$ glxinfo | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20
OpenGL extensions:
和 'lspci的' 命令给了我这样的:
[email protected]:~/Desktop/Tutorial 0.3.8/Tut 01 Hello Triangle$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
通过一点点谷歌搜索,我猜我正在使用OpenGL 2.1时,我应该使用OpenGL 3.3的'glXCreateContextAttribsARB',虽然我不知道。有什么我可以做的吗?
你怎么看GPU,你有吗?你的驱动程序建议你正在运行某种英特尔卡。 – 2012-04-27 05:26:03