Failed to find "GL/gl.h" in "/usr/include/libdrm".

下午在Unubtu 17.10 混搭CLion + QT 5.10.1 , 修改完CMakeList.txt 后( 不等代码编译 ),控制就已报错了  Failed to find "GL/gl.h" in "/usr/include/libdrm".


解决方法:


sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev