我正在通過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