首页 > 代码库 > linux下Qt问题cannot find -lGL collect2: error: ld returned 1 exit status

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

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