我想在运行Linux Mint的计算机上安装freeglut。我遵循这个网站上的步骤:http://freeglut.sourceforge.net/docs/install.php。当我在src目录做make all
,它提供了以下错误:由../include/GL/freeglut_std.h给在Linux上安装Freeglut
fatal error: GL/gl.h
此错误。经检查,include/GL目录确实没有任何gl.h文件。它也缺少glu.h,freeglut_std.h也尝试到#include
。我应该怎么做呢?为什么缺少gl.h和glu.h?
您是在['configure'](http://en.wikipedia.org/wiki/Configure_script_%28computing%29)脚本之前还是之后运行'make'? 'configure'应该通知你丢失的标题。 – genpfault
'configure'脚本 – Ataraxia