Hey <br><br>I am not trying to install cube game or something like that . I was trying to run an example of OpenGL-ES 2.0 in laptop (linux-ubuntu) . I was facing difficulty because its an application for embedded systems and I am running on laptop.<br>
Actually OpenGL-ES 2.0 needs an emulator for its working in laptop/Desktop . I done that part and installed it but everytime I get error:<br><br><span style="font-family: Verdana,Arial,Tahoma; font-size: 12px;"><span style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial,sans-serif; font-size: 13px;">./cube: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory<br>
<br>but I have configured the error and now the example is working:<br><br>Actually to run these we need <br><br></span></span>You need to install the libgles2-mesa package to get libGLESv2.
Presumably the application also uses EGL, in which case you'll also need
libegl1-mesa and libegl1-mesa-drivers.<br>
<br>
If you're going to compile ES2/EGL apps, you'll also need
libgles2-mesa-dev and libegl1-mesa-dev. If you want to be able to debug
inside Mesa or the drivers, you'll need libgles2-mesa-dbg,
libegl1-mesa-dbg, and libegl-mesa-drivers-dbg.<br><br>these are the additional drivers we need to run the OpenGL-ES 2.0 demos in Laptop or Desktop.<br><br>if still it does not work :<br><br>write in terminal :<br><br>fglrxinfo <br>
<br>if it says command not found , install it by typing:<br><br>sudo apt-get install fglrx<br><br>then try again.<br><br>Also go to system->administration->Additional drivers->and install ati drivers there. then run glxgears . it pops up a window with 3 gears rotating which means that your ati is working fine.<br>
you can also try :<br><br>glxinfo | grep version<br><br>it will show your ati , OpenGl version .<br><br>Thank you<br>Sudhanshu<br><span style="font-family: Verdana,Arial,Tahoma; font-size: 12px;"><span style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial,sans-serif; font-size: 13px;"><br>
<br></span></span>