Closed shaunidiot closed 11 years ago
seems missing OpenGL
Sorry sorry, I'm pretty new to this.
I've researched online and was told to check glxinfo | grep rendering
which returned direct rendering: Yes
, which I'm pretty sure it means OpenGL was installed. glxgears
also showed the gears animation.
Also, I've tried sudo yum install mesa-dri-drivers mesa-libGL
and rebooted, yet the problem still persist.
Any help with this?
Thank you!
If Qt complains about missing GL library, install
libgl-dev
package.
@nordbjerg Thank you so much! Manage to install the library and it works now (after some tinkering)! Appreciate your help.
@nurupo Sorry! I tried to yum install
that package and it doesn't work for my case (using Fedora). @nordbjerg 's suggestion works! Thanks nonetheless!
@shaunidiot libgl-dev
is usually an alias on some of package repositories, which, when asked for, would suggest you appropriate GL dev library, such as mesa-libGL-devel
. If not, you could just search for such library yourself, since you know that you need to install GL dev library.
I encountered a problem while building on Fedora. I've G++, Qt libraries all installed.
/usr/bin/ld: cannot find -lGL
[root@localhost build]# make g++ -Wl,-O1 -Wl,-rpath,/opt/Qt5.1.1/5.1.1/gcc_64 -Wl,- rpath,/opt/Qt5.1.1/5.1.1/gcc_64/lib -o TOX-Qt-GUI [All the files] -lsodium - L/opt/Qt5.1.1/5.1.1/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread