问题描述
我开始阅读OpenGL红皮书。
他们写的我们需要freeglutlib。好吧,到目前为止。
i've started reading the OpenGL Redbook.They're writing we need the "freeglut" lib. Okay, got it so far.
但它们包括vgl.h和LoadShaders.h,它不包括在freeglut中?
我在哪里可以找到他们?
But they include the "vgl.h" and "LoadShaders.h", it's not included in freeglut?Where do i find them?
推荐答案
前往这,然后点击右侧的链接,您可以下载源代码。
Go to this weppage and click on the link to the right which lets you download the source code.
然后vgl.h在包含
目录当您解压缩zip文件。
Then vgl.h is inside the include
directory when you extract the zip file.
您还会发现LoadShaders.h。您需要为loadshaders添加.cpp实现文件。
You will also find LoadShaders.h. You will need to add the .cpp implementation file for loadshaders. It is under the lib
directory.
我今天有这个问题。其实我已经有几天的问题。花了我的年龄来解决它。这个版本的红皮书不像其他人一样容易起床和运行。
I had this problem today. Actually I've had the problem for several days. Took me ages to fix it. This version of the redbook isn't quite as easy to get up and running with as the others.
这篇关于vgl.h missing - OpenGL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!