Jump to content
  • Advertisement
Sign in to follow this  
HoryWan

Can't run the SuperBible 5th source

This topic is 2810 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!