我在C++中做了一些OpenGL編程。如何解決這個錯誤:#include <gl/glut.h>「Can not open source file gl/glut.h」
這是我的代碼部分:
#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"
我該如何解決這個問題?
編輯:我正在使用Microsoft Visual C++速成版。對不起忘了提到它
你需要的,如果我沒有記錯它不是在Windows的OpenGL –
@JesusRamos包括默認安裝GLUT如何安裝呢? – Jay
@Jay http://freeglut.sourceforge.net/ – birryree