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

Glut Problems [Linker Errors]

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