Sign in to follow this  
HoryWan

Can't run the SuperBible 5th source

Recommended Posts

Hi. I am trying to run the first example from superbible 5th but i get this error
http://img169.imageshack.us/img169/8503/80651909.png
I use Visual studio 2010 ultimate edition. I followed both options presented here
http://www.scribd.com/doc/39175015/Setting-Up-Freeglut-and-GLTools-Libraries-Visual-Studio-2010 but the error persists.

Share this post


Link to post
Share on other sites
You need to link glew and include the glew headers. Based on that link you posted below I don't believe either freeglut or gltools includes glew, so you'll have to go setup that as well.

Share this post


Link to post
Share on other sites
In the tutorial is a note " Do not download and install the GLEW library – this has been included into the
GLTools library "

Share this post


Link to post
Share on other sites
My bad, I didn't really know what was in glTools.

In that case you are missing an appropriate header than, glewInit is defined in the header glew.h, though it might be somewhere else in glTools. I'd double check the documentation for gltools and see what header you have to include.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this