转自cannot find -lGL Solved the problem by installing the “libglu1-mesa-dev” package. sudo apt-get install libglu1-mesa-dev -y