Opengl game project compiling error

I tried to compile the source code in a programming book called "Beginning Opengl Game Programming".

However, I get the following error.

1
2
Error: 0:1:": Version number not supported by GL2
Error: 0:6:'in':syntax error parse error  




I had deal with it for a number of days but I still could not solve the problem.
I tried to change the #version 120 to #version 110 in the files located in the directory "data/shaders/glsl1.20".

Unforunately, I still got errors.
I hope someone can figure out the solution for me. I really need a help!

Since there are too many shader files involved, I cannot post all of them there.
You may download the whole project in the following link and try to compile.
You may also need freetype.lib and GLee.lib and I will also provide them.

http://www.sendspace.com/file/o0gkyl

Thanks a lot
Last edited on
Topic archived. No new replies allowed.