Menu

Glut lib. link failed - Dev4.9.7.0-gcc2.95

2002-12-06
2012-09-26
  • Michaël Roy

    Michaël Roy - 2002-12-06

    I tried to compile a simple application with glut library, it works pretty well on Dev-Cpp 4.9.6.9 and failed to link on Dev-Cpp 4.9.7.0-gcc2.95.
    Of course we have put the right link compiler commands:
    -lglut32 -lglu32 -lopengl32

    The error is:

    [Linker error] undefined reference to `__glutInitWithExit@12'
     
    [Linker error] undefined reference to `__glutCreateWindowWithExit@8'

    [Linker error] undefined reference to `__glutCreateMenuWithExit@8'

    Thanks

    --Yoh & Micha

     
    • Nobody/Anonymous

      Which version of glut did you use? Dev-C++ 4 only knows glut 3.6, and there are linking problems with glut 3.7

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.