我在运行LinuxMint的计算机上安装了OpenGL,并按照this tutorial上的说明进行了操作.我试图编译一个使用OpenGL的程序,但我得到了一个编译错误:fatal error: GL/glew.h: No such file or directory
.我判断/usr/include/GL文件夹,并查看glew.h确实不见了.我不知道它为什么会丢失,因为我执行了命令sudo apt-get install libglew1.5
,它给出了输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglew1.5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 465 not upgraded.
为什么是glew.h文件丢失了?