本文介绍了vgl.h missing - OpenGL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始阅读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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 02:50