Jump to content
  • Advertisement

Archived

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

Rellik

Glut Problems [Linker Errors]

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

Sorry to ask such a simple question, but alot of the tutorials I''ve been using use Glut, and I''m trying to get it to work. I have glut.h and the glut and glut32 libraries, and I #include and link these as needed. I also link various other opengl libraries (glu32, opengl32, all that). In fact, I''ve tried linking every single library in the folder. It still gives me linker errors: [Linker error] undefined reference to `__glutInitWithExit@12'' [Linker error] undefined reference to `__glutCreateWindowWithExit@8'' [Linker error] undefined reference to `__glutCreateMenuWithExit@8'' What is this coming from? I''m using Dev-C++, and normal OpenGL tends to work fine (although sometimes it has its own problems). Again, sorry to ask such a boring question, but I really can''t figure this out.

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!