错误描述: cannot find -lGL collect2:error:ld returned 1 exit status 我的解决方法(终端输入): sudo apt-get install libgl1-mesa-dev 更新后就OK了