Ubuntu配置OpenGL环境

建立基本编译环境

sudo apt-get install build-essential

安装OpenGL Library

sudo apt-get install libgl1-mesa-dev

安装OpenGL Utilities

sudo apt-get install libglu1-mesa-dev

安装OpenGL Utility Toolkit

sudo apt-get install freeglut3-dev
原文地址:https://www.cnblogs.com/shenwenkai/p/6687535.html