Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vgl.h missing - OpenGL

Tags:

c++

opengl

vgl

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?

like image 653
Carsten Zarbock Avatar asked Jun 28 '13 13:06

Carsten Zarbock


1 Answers

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.

like image 200
FreelanceConsultant Avatar answered Nov 15 '22 09:11

FreelanceConsultant