[Lazarus] New widgetset
dhkblaszyk at zeelandnet.nl
dhkblaszyk at zeelandnet.nl
Tue Aug 16 14:21:09 CEST 2011
On Tue, 16 Aug 2011 13:23:30 +0200, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On 08/16/2011 01:01 PM, dhkblaszyk at zeelandnet.nl wrote:
>> (http://en.wikipedia.org/wiki/GLSL#Versions [1]) this means that you
>> need OpenGL 2.1 or newer to work. Can you check this and possibly
>> update
>> if needed?
>
> How do I check what OpenGL version I have under Ubuntu? Does this
> help...?
>
> $ locate libGL
> /usr/lib/libGL.so
> /usr/lib/libGLU.a
> /usr/lib/libGLU.so
> /usr/lib/libGLU.so.1
> /usr/lib/libGLU.so.1.3.070701
> /usr/lib/mesa/libGL.so
> /usr/lib/mesa/libGL.so.1
> /usr/lib/mesa/libGL.so.1.2
> /usr/lib32/libGL.so
> /usr/lib32/libGLU.so
> /usr/lib32/libGLU.so.1
> /usr/lib32/libGLU.so.1.3.070701
> /usr/lib32/mesa/libGL.so.1
> /usr/lib32/mesa/libGL.so.1.2
I don't know how to do it by looking at the libs. You could check
synaptic to see if newer versions are available. You can check from code
by executing glGetString(GL_VERSION), but you already did that in the
glutdemo. It returned a version string of OpenGL 1.5. So to me this
indicates you should try to update.
Darius
More information about the Lazarus
mailing list