Jump to content
  • Advertisement
Sign in to follow this  
frogtag

major glaux problem

This topic is 4723 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

I'm a newbie to openGL and have been trying to learn it through tutorials on various sites. However, every site i come to has examples using glaux. I don't have a copy of glaux and associated files, not one that seems to work. I can't find any downloadable files. Every site i find for help says use glut, which i did but get linker errors to undefined references ... __glutInitWithExit@12 __glutCreateWindowWithExit@8 __glutCreateMenuWithExit@8 ... everytime i try to compile. Can anyone give me a solution???

Share this post


Link to post
Share on other sites
Advertisement
I'm using Dev-Cpp C++. When i link to glaux, i get no file found, even though the file is definetely there. So taking the advice of others to link to glut instead, i get the linker errors.

Share this post


Link to post
Share on other sites
__glutInitWithExit@12
__glutCreateWindowWithExit@8
__glutCreateMenuWithExit@8

are glut functions, not glaux.

You need to goto devpaks.org and get the devpak of glut for devc++. Then include the glut header, and link to the glut library.

Share this post


Link to post
Share on other sites
The linker errors are from glut functions, yes, because i'm trying to link with glut rather than glaux (because everyone says glaux is obsolete). I'll give the devpak a go, but have a feeling that the glut version i'm using is from it already or at least a source zip file that was associated with the dev-pak on another site.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!