小编Jay*_*Jay的帖子

如何解决此错误:#include <gl/glut.h>"无法打开源文件gl/glut.h"

我在C++中做了一些OpenGL编程.

这是我的代码的一部分:

#include <time.h>
#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glut.h> <<< Error here "Cannot open source file gl/glut.h"
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?

编辑:我正在使用Microsoft Visual C++ Express Edition.对不起忘了提它

c++ opengl vector matrix

21
推荐指数
2
解决办法
12万
查看次数

标签 统计

c++ ×1

matrix ×1

opengl ×1

vector ×1