HELP!!! trouble with including .h files.

Hi,

I am completely new to opengl (and programming in general really…) so I really have no idea what I am doing.

Anyway, I’ve included all the .h files for opengl in the usr/include/GL directory but when I try to compile the ‘triangles’ example program as seen in the red book, it gives me the following error: LoadShaders.h: No such file or directory.

I am not sure why this is happening because it does not seem to be happening with other file that I have included in the same directory.

So… what’s going on?

thanks in advance

hi there,

without any idea of opengl it will be very hard !
and a include problem is more a c/c++ issue…
anyway … for people like you i did my opengl beginner podcast… a earsy way to get into it and i also explain how to set up the basics…
maybe it gets you started:
http://www.opengl2go.net/2015/10/08/published-002-what-is-opengl-how-does-it-work/

regards
kai

LoadShaders.h is a helper function written by the authors of the book. You can download it, along with the rest of the samples, from their website at opengl-redbook.com