can't find -LGL 解决方式: sudo apt-get install libglu1-mesa-dev sudo apt-get install freeglut3-dev
意思是得安装Opengl的相关库。