linux下Qt问题cannot find -lGL collect2: error: ld returned 1 exit status

fedora下解决

  1. yum groupinstall "Development Tools"
  2. yum install mesa-libGL-devel

 

ubuntu下解决

        sudo apt-get install libglu1-mesa-dev -y

posted @ 2015-02-01 17:50  小菜鸟_yang  阅读(1558)  评论(0编辑  收藏  举报