sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
qt的.pro文件添加:
LIBS += -lglut \
-lGL
linux下opengl的安装(with qt)
时间: 2024-10-08 17:18:54
sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
qt的.pro文件添加:
LIBS += -lglut \
-lGL
linux下opengl的安装(with qt)