Reputation: 131
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?
Upvotes: 9
Views: 7721
Reputation: 16531
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.
Upvotes: 6