fedora/CentOS:yum install libGL libGL-devel
ubuntu以及基于ubuntu的发行版:sudo apt-get install libgl1-mesa-dev
opensuse:zypper in Mesa-libGL-devel