Sign in to follow this  

Can't run the SuperBible 5th source

This topic is 2596 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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

This topic is 2596 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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