几个常见的错误,纪录下来,分享一下。

1 解决:-1: error: cannot find -lGL 错误

sudoapt-getinstalllibglu1-mesa-dev-y