Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Zero_Infinity

GLUt

This topic is 6229 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 continue to get the following linker errors: c:\louis\mainphraim\dev\languague\c\gl\nehe\fire\clone.o: In function `glutInit_ATEXIT_HACK'': //C/DEV-C_~1/INCLUDE/GL/glut.h:480: undefined reference to `__glutInitWithExit@12'' c:\louis\mainphraim\dev\languague\c\gl\nehe\fire\clone.o: In function `glutCreateWindow_ATEXIT_HACK'': //C/DEV-C_~1/INCLUDE/GL/glut.h:497: undefined reference to `__glutCreateWindowWithExit@8'' c:\louis\mainphraim\dev\languague\c\gl\nehe\fire\clone.o: In function `glutCreateMenu_ATEXIT_HACK'': //C/DEV-C_~1/INCLUDE/GL/glut.h:543: undefined reference to `__glutCreateMenuWithExit@8'' Upon scrolling the ''GLUt.h'' file it states: Note that the __glut*WithExit routines should NEVER be called directly. To avoid the atexit workaround, #define GLUT_DISABLE_ATEXIT_HACK. */ However, i could not get the GLUt linker errors to cease or the workaround to work. Is this a likely solution or am I totally off base?

Share this post


Link to post
Share on other sites
Advertisement

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