vgl.h missing - OpenGL

。_饼干妹妹 提交于 2019-12-21 10:58:08

问题


i've started reading the OpenGL Redbook. They're writing we need the "freeglut" lib. Okay, got it so far.

But they include the "vgl.h" and "LoadShaders.h", it's not included in freeglut? Where do i find them?


回答1:


Go to this weppage and click on the link to the right which lets you download the source code.

Then vgl.h is inside the include directory when you extract the zip file.

You will also find LoadShaders.h. You will need to add the .cpp implementation file for loadshaders. I haven't found that yet. 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.



来源:https://stackoverflow.com/questions/17365699/vgl-h-missing-opengl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!